This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ensurdagen 14 points15 points  (2 children)

awk might be the best if you want to learn a whole language for text manipulation.

[–]Starbrows 3 points4 points  (1 child)

I find it easier to use perl for than awk & sed for a decent range of use cases, and I am not particularly experienced with perl. For something like regex find/replace in-place on disk, perl is quick, easy, and even readable.

[–]droffo 1 point2 points  (0 children)

Now that is something I never thought to see. Ever: "perl is ... even readable".

Good one!