diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-12 13:24:49 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-12 13:27:07 +0200 |
commit | 03d827e2fbc409ef97829f25b8eeca5204f81a3c (patch) | |
tree | 6099f0feb9adf3425fba87549b164043e18bd0c7 | |
parent | 45cddd072119c5abd7ec076cf28d51ee01f125b7 (diff) | |
download | xutil-03d827e2fbc409ef97829f25b8eeca5204f81a3c.tar.gz |
Re-organize files
-rw-r--r-- | Makefile | 13 | ||||
-rw-r--r-- | README | 20 | ||||
-rw-r--r-- | doc/cpy.1 (renamed from cpy.1) | 0 | ||||
-rw-r--r-- | doc/ep.1 (renamed from ep.1) | 0 | ||||
-rw-r--r-- | doc/f.1 (renamed from f.1) | 0 | ||||
-rw-r--r-- | doc/mkmv.1 (renamed from mkmv.1) | 0 | ||||
-rw-r--r-- | doc/ord.1 (renamed from ord.1) | 0 | ||||
l--------- | doc/pst.1 (renamed from pst.1) | 0 | ||||
-rwxr-xr-x | etc/P (renamed from P) | 0 | ||||
-rwxr-xr-x | etc/ce (renamed from ce) | 0 | ||||
-rwxr-xr-x | etc/child (renamed from child) | 0 | ||||
-rwxr-xr-x | etc/colortest (renamed from colortest) | 0 | ||||
-rwxr-xr-x | etc/cpy (renamed from cpy) | 0 | ||||
-rwxr-xr-x | etc/cuthere (renamed from cuthere) | 0 | ||||
-rwxr-xr-x | etc/ep (renamed from ep) | 0 | ||||
-rwxr-xr-x | etc/f (renamed from f) | 0 | ||||
-rwxr-xr-x | etc/flip (renamed from flip) | 0 | ||||
-rwxr-xr-x | etc/g (renamed from g) | 0 | ||||
-rwxr-xr-x | etc/gspell (renamed from gspell) | 0 | ||||
-rw-r--r-- | etc/imgur (renamed from imgur) | 0 | ||||
-rwxr-xr-x | etc/inc (renamed from inc) | 0 | ||||
-rwxr-xr-x | etc/isort (renamed from isort) | 0 | ||||
-rwxr-xr-x | etc/lorem (renamed from lorem) | 0 | ||||
-rwxr-xr-x | etc/mkmv (renamed from mkmv) | 0 | ||||
-rwxr-xr-x | etc/ord (renamed from ord) | 0 | ||||
-rwxr-xr-x | etc/p (renamed from p) | 0 | ||||
-rwxr-xr-x | etc/pst (renamed from pst) | 0 | ||||
-rwxr-xr-x | etc/re! (renamed from re!) | 0 | ||||
-rwxr-xr-x | etc/wpdf (renamed from wpdf) | 0 | ||||
-rwxr-xr-x | etc/xtopen (renamed from xtopen) | 0 | ||||
-rwxr-xr-x | git/git-bdiff (renamed from git-bdiff) | 0 | ||||
-rwxr-xr-x | git/git-orig (renamed from git-orig) | 0 | ||||
-rwxr-xr-x | git/git-s (renamed from git-s) | 0 | ||||
-rwxr-xr-x | git/git-st (renamed from git-st) | 0 | ||||
-rwxr-xr-x | pl/pl (renamed from pl) | 0 | ||||
l--------- | pl/pla (renamed from pla) | 0 | ||||
l--------- | pl/plf (renamed from plf) | 0 | ||||
l--------- | pl/plh (renamed from plh) | 0 | ||||
l--------- | pl/plm (renamed from plm) | 0 | ||||
l--------- | pl/plq (renamed from plq) | 0 | ||||
l--------- | pl/plv (renamed from plv) | 0 | ||||
-rwxr-xr-x | with/with-git (renamed from with-git) | 0 | ||||
-rwxr-xr-x | with/with-pager (renamed from with-pager) | 0 | ||||
-rwxr-xr-x | with/with-shell (renamed from with-shell) | 0 | ||||
-rwxr-xr-x | with/with-shell-on-error (renamed from with-shell-on-error) | 0 |
45 files changed, 20 insertions, 13 deletions
@@ -1,7 +1,10 @@ -EXEC != find -H . -follow -type f -maxdepth 1 -perm -111 -IEXEC != echo " $(EXEC)" | sed -E 's, \./, /usr/local/bin/,g' +EXEC != find -H . -follow -type f -perm -111 ! -path '*/.git/*' +IEXEC != echo " $(EXEC)" | sed -E 's, \./([^ ]*/)?, /usr/local/bin/,g' install: - install -m 644 *.[1-9] /usr/local/man/man1 - install $(EXEC) /usr/local/bin - re! $(IEXEC) + @echo Installing man pages... + @install -m 644 doc/*.[1-9] /usr/local/man/man1 + @echo Installing executables... + @install $(EXEC) /usr/local/bin + @echo Rewriting shebangs... + @re! $(IEXEC) @@ -3,14 +3,18 @@ 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 +etc/ + ce center text + ep edit pipe + g poor man's ack + inc increment numbers in lines + p/P maybe view output in pager + +git/ + git-orig checkout original file For similar programs, see - dwim http://git.ankarstrom.se/dwim - repl http://git.ankarstrom.se/repl - vp http://git.ankarstrom.se/vp + dwim http://git.ankarstrom.se/dwim + repl http://git.ankarstrom.se/repl + vp http://git.ankarstrom.se/vp diff --git a/colortest b/etc/colortest index 24aa95c..24aa95c 100755 --- a/colortest +++ b/etc/colortest diff --git a/git-bdiff b/git/git-bdiff index 9b39ad4..9b39ad4 100755 --- a/git-bdiff +++ b/git/git-bdiff diff --git a/with-pager b/with/with-pager index 10f8717..10f8717 100755 --- a/with-pager +++ b/with/with-pager diff --git a/with-shell b/with/with-shell index 364d2ac..364d2ac 100755 --- a/with-shell +++ b/with/with-shell diff --git a/with-shell-on-error b/with/with-shell-on-error index d29a1d6..d29a1d6 100755 --- a/with-shell-on-error +++ b/with/with-shell-on-error |