Hi All,
I need some help with looping through fields in a text file.
The text file is in the following format:
{field 1}{field 2}{field 3}{field 4}{field 5}{field 6}{field 7}{field 8}
I know that in awk there is the field separator options (FS), but i have tried it with "{" and "}{" but i cannot get it to work.
I need to search the text file to find a specific field and then do something with that field (compare the value).
can anybody help me with this?
I need some help with looping through fields in a text file.
The text file is in the following format:
{field 1}{field 2}{field 3}{field 4}{field 5}{field 6}{field 7}{field 8}
I know that in awk there is the field separator options (FS), but i have tried it with "{" and "}{" but i cannot get it to work.
I need to search the text file to find a specific field and then do something with that field (compare the value).
can anybody help me with this?