News for hackers. Stuff that matters.
Re:Ask HN: What do you love/hate about terminals? Would you ... by jwilk on Thursday December 28, 2017 @11:40AM (#16023088)
Even with -ba (which I could never remember), nl does too much magic:

  $ printf 'foo\n\:\nbar\n' | cat -n
       1	foo
       2	\:
       3	bar
  
  $ printf 'foo\n\:\nbar\n' | nl -ba
       1	foo
  
         bar

There are no comments on this comment yet.