I had the awk statement embedded within a bash script.
What would the whole script look like if I actually created it as an awk script?
Assume that the data file is called phone.data
Sorry, but as a bash scripter I am still awkward (sorry) around awk scripts.
:-)
Sorry. I should have read this before I posted it. What I really wanted to say is:
The TITLE field is not the only field which contains spaces. The data I presented here are just an example.
The actual data record is more than 100 bytes in length.
The TITLE field is not the only field which contains data. The data I presented here are just an example.
The actual data record is more than 100 bytes in length.
Hi,
I am reading in a file which consists of fixed length records with white spaces and tabs separating fields. Some fields have white spaces with them.
Here are 2 sample records:
----+----|----+----|----+----|----+----|----+----|----+----|----+---
John Smith 5551111212...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.