duplicated lines in usage() or help files
Posted: 2017-10-13T10:56:48-07:00
On my machine a a few of the scripts generate duplicate lines when help is printed out:
this can be fixed by adding a -n to the sed command that generates the help output
e.g.
sed >&2 -n -e '1,/^####/d; /^######/g; /^#/!q; s/^#*//; s/^ //; 4,$p' "$PROGDIR/$PROGNAME"
this affects multicrop and innercrop
this can be fixed by adding a -n to the sed command that generates the help output
e.g.
sed >&2 -n -e '1,/^####/d; /^######/g; /^#/!q; s/^#*//; s/^ //; 4,$p' "$PROGDIR/$PROGNAME"
this affects multicrop and innercrop