aboutsummaryrefslogtreecommitdiff
path: root/etc/f
blob: 7f541d8f98a4ead5c96cc13afa24cca252d75ccb (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# f -- fmt with new line for each sentence

fmt "$@" |
sed 's/\([^ ]\)\.  \([^ ]\)/\1.\
\.temporary line for fmt\
\2/g' |
fmt "$@" |
sed '/^\.temporary line for fmt$/d'