Definitely in ARC fields are separated by space basically by string which contains one space.
But if we can change that using field separator so fields can be separated by for example comma or dot
or whatever.
Tell us if it passed output of eco commands to one two three four in two or command.
In the BEGIN section before starting to sing any records we can set new value to f s to field separator.
For example we can set it to string two
and we'll print first two fields divided by space
and Lissi printed one as the first field and then three four as the second field strength do is not
printed as it is now field separator.
Now let's check how Basford file looks like we see dead on each line.
Fields separated by column.
So we can change differently set field separator from space to call on in awk begin.
Section
so pass the output of passport file into awk program and in BEGIN section we will change fields separator
to clone
and in the main a section which is process for each record.
We can print first field and seven field which would be name and show so print dollar sign one dollar
sign seven.
And as it is working we see only a name and show are pretty amazing because changing field separator
is one of the most used feature in awk.
We can do that much easily using a command line option.
Desch F.
So we just type f and inside double quotation marks.
We just put the new value of field separator
and we can print here for each record first and let's say Surt field
and great.
It works perfectly.