4 ms·
Silly bash function I use all the time. function f { awk '{print $'$1'}' } cat tab-separated | f 2 > just-the-2nd-column
by fizx 17y ago
Silly bash function I use all the time.
function f {
awk '{print $'$1'}'
}
cat tab-separated | f 2 > just-the-2nd-column
- bsaunder 17y agocut -f2 tab-separated > just-the-2nd-column
- rv77ax 17y agoload "tab-separated" ( :f1:::'\t', :f2:::'\t', :f3::: ) as x; create "just-the-2nd-column" from x ( :f2::: ); -- http://github.com/shuLhan/vos http://github.com/shuLhan/vos