O'Reilly logo

Learning AWK Programming by Shiwang Kalkhanda

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Field separator 

The field separator (FS) is either a single character or a regular expression. It decides the way AWK splits an input record into fields. The FS is represented by the built-in variable FS, and its default value is a single space. It tells AWK to separate fields across any number of spaces and/or tabs.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required