aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-19 11:44:24 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-19 11:44:24 +0200
commit1c54eb7ef57f94ec56d86e1747248010369304d8 (patch)
treec7d70806ec7338c6df28d5bc350c0b1cf6392f30
parent94b6dc4d4d842cab6e6e96da5a407286d68d749a (diff)
downloadxutil-1c54eb7ef57f94ec56d86e1747248010369304d8.tar.gz
Add README
-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='
'