[nycbug-talk] Re: Simple sed question

Francisco Reyes lists
Fri Jan 7 14:03:58 EST 2005


On Fri, 7 Jan 2005, Mikel King wrote:

> I am not exactly sure I am following you requirements but from what I've 
> gathered it sounds like this could be a task for awk.

I got an expression that worked.
Have been reading on sed/awk for 3 days.
So far this is the impression I am getting:
* Sed for when one needs to replace/delete text
* Awk for formatting and more fine detailed control

>From what I have read awk possibly can do everything that sed, does, but 
there seem to be some work that sed seems more "natural".. or more 
direct.. at least that's the impression I get on all my newbiness.

I am using "Sed & awk" from O'reilly, 2nd edition.

It's interesting that I picked the book just as a curiosity to learn more 
about these tools, and I see how many things I was doing with some MUCH 
worse methods..




More information about the talk mailing list