On 27/11/2005, at 14:45, David Lee wrote:
[...] otherwise it inserted the - literally when there are > 1 -'s on the line.
YMMV but maybe the snippet should be updated ( and there's likely a slightly more handsome way to do it)
Indeed it should. I've updated it to:
printf -- '-\t'
The “--” part disables argument parsing for the rest of the line.