Implement a line-wise reversal tool
authorSiraaj Khandkar <siraaj@khandkar.net>
Tue, 26 Oct 2021 15:49:10 +0000 (11:49 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Tue, 26 Oct 2021 15:49:10 +0000 (11:49 -0400)
home/bin/revl [new file with mode: 0755]

diff --git a/home/bin/revl b/home/bin/revl
new file mode 100755 (executable)
index 0000000..4f2e709
--- /dev/null
@@ -0,0 +1,3 @@
+#! /usr/bin/awk -f
+
+{lines[NR]=$0} END {for (i=NR; i>=1; i--) print lines[i]}
This page took 0.029017 seconds and 4 git commands to generate.