aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-05-20 13:13:19 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-05-20 13:13:30 +0200
commit483a7f3168793fc8980727f417b1e8087eed4fa3 (patch)
treed85ae1f44d8887241b04f7e08c709be5c927e8a8
parent41ad303ad1c2812ebe00d8880d136ad3ab44d5ab (diff)
downloadxutil-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.
-rwxr-xr-xf (renamed from ft)2
-rw-r--r--f.1 (renamed from ft.1)6
2 files changed, 4 insertions, 4 deletions
diff --git a/ft b/f
index cc40806..157c307 100755
--- a/ft
+++ b/f
@@ -1,6 +1,6 @@
#!/bin/sh
-# ft -- fmt with new line for each sentence
+# f -- fmt with new line for each sentence
fmt "$@" |
sed 's/\([^ ]\)\. \([^ ]\)/\1.\n\.temporary line for fmt\n\2/g' |
diff --git a/ft.1 b/f.1
index 6ddfd86..104ebae 100644
--- a/ft.1
+++ b/f.1
@@ -1,13 +1,13 @@
.Dd $Mdocdate$
-.Dt ft 1
+.Dt f 1
.Os
.
.Sh NAME
-.Nm ft
+.Nm f
.Nd fmt but with new sentence on new line
.
.Sh SYNOPSIS
-.Nm ft
+.Nm f
.Op Ar arg ...
.
.Sh DESCIPTION