diff options
author | John Ankarström <john@ankarstrom.se> | 2021-05-20 13:13:19 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-05-20 13:13:30 +0200 |
commit | 483a7f3168793fc8980727f417b1e8087eed4fa3 (patch) | |
tree | d85ae1f44d8887241b04f7e08c709be5c927e8a8 /f | |
parent | 41ad303ad1c2812ebe00d8880d136ad3ab44d5ab (diff) | |
download | xutil-483a7f3168793fc8980727f417b1e8087eed4fa3.tar.gz |
Rename 'ft' to 'f'
It is such a commonly used utility that it might as well be as easy
to type as possible.
Diffstat (limited to 'f')
-rwxr-xr-x | f | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#!/bin/sh + +# f -- fmt with new line for each sentence + +fmt "$@" | +sed 's/\([^ ]\)\. \([^ ]\)/\1.\n\.temporary line for fmt\n\2/g' | +fmt "$@" | +sed '/^\.temporary line for fmt$/d' |