>> I use 'nl' a lot for adding line numbers to the output of other commands. >> >> The one annoying thing is that blank lines in the input are output without >> line numbers. >> >> I would like to see a command line option to over-ride this and have all >> lines >> numbered.
>I think the behavior you want is already implemented. See the example below: > $ nl -ba example > 1 > 2 line before and after are empty > 3 >Collin Yep. That does it. Thanks. Not exactly obvious from the man page, but it works. ================================================================================= Please do not send me replies to my posts on the list. I always read the replies via the web archive, so CC'ing to me is unnecessary. When responding to my posts, please try to refrain from giving bureaucratic answers. If you have nothing useful to say, then just click Next and go on.