awk -F ' ' = treat all contiguous white space as a single field
separator AND ignore any leading and trailing white space when determining
fields $1 to $NF. This is THE special-case (and default) field separator
for awk.
awk -F '[X]' = treat each occurrence of the character X as a field
separator. This is equivalent to cut -d X.
awk -F '[X]+' = treat all contiguous occurrences of the character X as a
field separator.
awk -F '[[:space:]]+' = treat all contiguous white space as a single
field separator. Note that this is not quite the same as awk -F ' ' since
it has no requirement to ignore leading/trailing white space.
awk -F 'X' = equivalent to awk -F '[X]' except when X is a single blank
character (see above) or an RE metacharacter.
Hope that helps.
Ed.
Posted using
www.webuse.net