Skip to main content
5 events
when toggle format what by license comment
Jan 12, 2021 at 17:20 comment added pbarney If you're a craftsman, you learn how to use all your tools and you'll know which to use when. If you're just fixing stuff, a hammer and a screwdriver might just be all you need.
Oct 30, 2018 at 11:27 comment added Konchog Better to use a mixture. For instance, if you are looking for a pattern in a huge file, use grep to find the line number, and then sed to edit the line. Otherwise, sed is going to be much slower to process the entire file.
Jun 4, 2017 at 12:10 comment added sjas Don't ditch sed, 's/search/replace' is way easier to type than awk's syntax and is what you need most of the time.
May 7, 2016 at 8:03 comment added Didier A. I find sed is much easier to learn though, so you need to account for that. As you learn to master awk, it might be useful to quickly learn sed to be able to use it faster for things you might not know how to do in awk yet.
Oct 27, 2009 at 17:40 history answered ghostdog74 CC BY-SA 2.5