aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xf4
1 files changed, 3 insertions, 1 deletions
diff --git a/f b/f
index 157c307..7f541d8 100755
--- a/f
+++ b/f
@@ -3,6 +3,8 @@
# f -- fmt with new line for each sentence
fmt "$@" |
-sed 's/\([^ ]\)\. \([^ ]\)/\1.\n\.temporary line for fmt\n\2/g' |
+sed 's/\([^ ]\)\. \([^ ]\)/\1.\
+\.temporary line for fmt\
+\2/g' |
fmt "$@" |
sed '/^\.temporary line for fmt$/d'