Is there a way to use FS=??? in the
BEGIN part of an awk script so that
every character becomes a field separator?
I would like to use $1, $2 ... $n to specify
the nth character on a line, regardless of
what separates the characters.
So, for example on the line:
abcd e f g hi
$13 would be the "i"
Thanks
BEGIN part of an awk script so that
every character becomes a field separator?
I would like to use $1, $2 ... $n to specify
the nth character on a line, regardless of
what separates the characters.
So, for example on the line:
abcd e f g hi
$13 would be the "i"
Thanks