From 483a7f3168793fc8980727f417b1e8087eed4fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 20 May 2021 13:13:19 +0200 Subject: Rename 'ft' to 'f' It is such a commonly used utility that it might as well be as easy to type as possible. --- f | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 f (limited to 'f') diff --git a/f b/f new file mode 100755 index 0000000..157c307 --- /dev/null +++ b/f @@ -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' -- cgit v1.2.3