minus-squareMount_Linux@lemmy.worldtoLinux@lemmy.ml•cat vs sed vs awklinkfedilinkarrow-up2·1 year agoOk, I would say… cat is mostly used for output of files, and concatenating files. sed and awk are good at reshaping the output of files or piped std input. They both require some time to learn, but it is worth going back to them. linkfedilink
minus-squareMount_Linux@lemmy.worldtoLinux@lemmy.ml•cat vs sed vs awklinkfedilinkarrow-up3·1 year agoWhat is it you want to do? linkfedilink
Ok, I would say… cat is mostly used for output of files, and concatenating files. sed and awk are good at reshaping the output of files or piped std input. They both require some time to learn, but it is worth going back to them.