aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README16
-rwxr-xr-xflip3
-rwxr-xr-xg2
3 files changed, 18 insertions, 3 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..47299fe
--- /dev/null
+++ b/README
@@ -0,0 +1,16 @@
+xutil is a collection of more or less useful, more or less
+idiosyncratic extra UNIX tools.
+
+In my opinion, the most generally useful ones are
+
+ ce center text
+ ep edit pipe
+ g poor man's ack
+ inc increment numbers in lines
+ p/P maybe view output in pager
+
+For similar programs, see
+
+ dwim http://git.ankarstrom.se/dwim
+ repl http://git.ankarstrom.se/repl
+ vp http://git.ankarstrom.se/vp
diff --git a/flip b/flip
index da55b4b..614bc67 100755
--- a/flip
+++ b/flip
@@ -1,6 +1,3 @@
#!/usr/bin/perl
-use strict;
-use warnings;
-
exec (shift @ARGV, pop @ARGV, @ARGV);
diff --git a/g b/g
index 0a22892..7c55707 100755
--- a/g
+++ b/g
@@ -1,5 +1,7 @@
#!/bin/sh
+# g -- poor man's ack
+
IFS='
'