6 lines
155 B
Plaintext
6 lines
155 B
Plaintext
|
#!/bin/sh
|
||
|
# TODO: use getopt to avoid parsing options as filenames,
|
||
|
# and to support -- and --help
|
||
|
[ $# -ne 0 ] && DASH_I=-i
|
||
|
sed $DASH_I -e 's/$/\r/' "$@"
|