#!/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'