Hi,
I'm working with gawk (on DOS) today.
A goal is: find a string for-instance '123', cut a line in two columns and write second one. The problem is: command line works OK, awk file doesn't. But I would like to work with file because there are many strings to find.
My problem is namely one (even more) large file and at least twelve strings to find in it (them). I can manage this with twelve awk commands, but I'd like to add all into one awk command file.
And last, I'd like to put results into columns as:
first string first column, second string second column,...
and
first file first row, second file, second row,...
Many wishes...
---------- Post updated at 12:58 PM ---------- Previous update was at 09:48 AM ----------
I found it (silly me :o).
First one ok. But second one: to put results into columns instead of one by one into rows, is still in question:confused:.