/awk_FS_Single_or_Multiple_Space

awk example FS variable of single space or multiple space

Primary LanguageAwk

awk_FS_Single_or_Multiple_Space

awk example FS variable of single space or multiple space

How to run:

awk -f awk_multiple_space_field_separator_FS_example.awk  awk_multiple_space_input_example

Expected output:

NR: 1 NF:2 Value: Catalog 1
NR: 2 NF:2 Value: Catalog  2
NR: 3 NF:2 Value: Catalog   3
NR: 4 NF:2 Value: Catalog    4
NR: 5 NF:5 Value: Catalog 5    6    7    8