"Jason Pyeron" <jpye...@pdinc.us> writes: > $ cat /usr/local/bin/helper.sh > cat "$1" | mac2unix > > The important issue was to not use mac2unix directly, because it > modifies the file itself.
I wonder if [diff "test"] textconv = sh -c 'mac2unix <"$1"' -IAmArgv0- works without an extra helper.