Bill East on 23 May 2013 19:51:20 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] 2013-05-21 PLUG W follow-up |
You could use field width specifies in the printf:
printf "%3d %15s %s\n" 4 10.11.12.13 dns.name.one
printf "%3d %15s %s\n" 2 207.111.106.151 yet.another.name
outputs
4 10.11.12.13 dns.name.one
2 207.111.106.151 yet.another.name
but column -t is pretty nice too.
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug