On 04-Dec-2013 13:06:35 Mark Rogers wrote:
I have a requirement to do some scripted text file processing on Windows. I plan on using a cross-platform tool (awk comes to mind) but as I don't have any real skills in anything (I used awk many years ago but not recently) I thought it best to come at it with a clean slate, as I will want to re-use the skills I pick up (almost entirely on Linux).
What I need to do in this case is read a CSV file, remove a few lines that are of no interest and combine a couple of fields to create new ones. Awk would definitely do this (albeit I have some reading to do to remember how) - but is it still the best tool for the job?
Mark
-- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG
I don't know about others, but awk is of course pretty good!
In case it may be useful (perhaps also to others) I attach herewith my 7-page Awk Language Summary as PDF:
awk.language.summary.pdf
(distilled from the book by Aho Weinberger & Kernighan).
Best wishes to all, Ted.
------------------------------------------------- E-Mail: (Ted Harding) Ted.Harding@wlandres.net Date: 04-Dec-2013 Time: 13:41:37 This message was sent by XFMail -------------------------------------------------