[clug] Bash questions...

Andrew Janke a.janke at gmail.com
Sat Apr 30 21:01:21 MDT 2011


> I pick this:
>
>   $ printf "%12s\n" ' ' | tr ' ' '-'

Golf time:

   spencer:~$ printf "%12s\n" | tr \  -
   ------------

now prints 12 -'s and is more like line noise which is what we are all after.


a


More information about the linux mailing list