1col1(1) byobu col1(1)
2
3
4
6 col1 .. col9, NF - awk and print a column (based on the name of the
7 program, 1-9)
8
9
11 col1 [SEPARATOR]
12
13
15 col1 is a simple script that conveniently splits and prints a given
16 column, where the column to print is the name of the script program
17 you're running (col1-col9). col2-col9 are symlinks to col1; their
18 behavior simply changes based on the name called.
19
20 NF can be used to print the last field.
21
22 The program takes one optional argument, the input field separator
23 (whitespace, by default).
24
25
27 Rather than:
28 mount | awk '{print $3}'
29
30 Try:
31 mount | col3
32
33 Instead of:
34 cat /etc/passwd | awk -F":" '{print $7}'
35
36 You can just do:
37 cat /etc/passwd | col7 :
38
39 Or
40 cat /etc/passwd | NF :
41
42
44 awk(1)
45
46
48 This manpage and the utility was written by Dustin Kirkland <kirk‐
49 land@ubuntu.com> for Ubuntu systems (but may be used by others). Per‐
50 mission is granted to copy, distribute and/or modify this document
51 under the terms of the GNU General Public License, Version 3 published
52 by the Free Software Foundation.
53
54 On Debian systems, the complete text of the GNU General Public License
55 can be found in /usr/share/common-licenses/GPL, or on the web at
56 http://www.gnu.org/licenses/gpl.txt.
57
58
59
60byobu 27 Sep 2010 col1(1)