cat vs sed vs awk (lemmy.sdf.org)
submitted 3 years ago* (last edited 3 years ago) by to c/linux@lemmy.ml
 
you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 3 years ago (1 child)

Sed and awk have a lot of overlap. Another thing to consider is that neither might be the right choice if you are inside a bash script since spawning a new process in a tight loop can be very expensive and bash's built-in regex operations can have much better performance in those situations.

  • source
  • parent
  • hideshow 1 child comment