diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-02 14:27:59 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-02 14:27:59 +1200 |
commit | cfd522738c2557575d1d5c118a9ee56b64dcb103 (patch) | |
tree | 0d5a6930949fd717071e1a1ce023bd9d70f6cc97 /bin/rndl | |
parent | Make clwr(1) executable (diff) | |
download | dotfiles-cfd522738c2557575d1d5c118a9ee56b64dcb103.tar.gz dotfiles-cfd522738c2557575d1d5c118a9ee56b64dcb103.zip |
Add options terminator to sed(1) call in rndl(1)
Diffstat (limited to 'bin/rndl')
-rwxr-xr-x | bin/rndl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,6 +4,6 @@ if [ "$#" -eq 0 ] ; then printf >&2 'rndl: Need at least one filename\n' exit 1 fi -lc=$(sed '$=;d' "$@") || exit +lc=$(sed -- '$=;d' "$@") || exit ri=$(rndi 1 "$lc") || exit sed -- "$ri"'!d' "$@" |