Documentation ¶
Overview ¶
fld selects fields to print from tabular input.
# Prints the first two fields in input. fld 1 2 < myfile # Prints the first two fields in input, and the last. # If using negative indexes, you need "--" to prevent flag handling code from # attempting to use -1 etc. as flags. fld -- 1 2 -1 < myfile # Same thing with alternate syntax. fld -k 1,2,-1
Credit to Mark-Jason Dominus for the idea.
Click to show internal directories.
Click to hide internal directories.