other versions
- wheezy-backports 5.87-1~bpo70+1
- jessie 5.87-1
- testing 5.112-1
- unstable 5.112-1
col1(1) | byobu | col1(1) |
NAME¶
col1 .. col9, NF - awk and print a column (based on the name of the program, 1-9)SYNOPSIS¶
col1 [SEPARATOR]DESCRIPTION¶
col1 is a simple script that conveniently splits and prints a given column, where the column to print is the name of the script program you're running (col1-col9). col2-col9 are symlinks to col1; their behavior simply changes based on the name called.EXAMPLES¶
Rather than:mount | awk '{print $3}'
mount | col3
cat /etc/passwd | awk -F":" '{print $7}'
cat /etc/passwd | col7 :
cat /etc/passwd | NF :
SEE ALSO¶
awk(1)AUTHOR¶
This manpage and the utility was written by Dustin Kirkland <kirkland@ubuntu.com> for Ubuntu systems (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation.27 Sep 2010 | byobu |