minus-squaresilas@lemmy.eco.brOPtoShell Scripting@programming.dev•Using sed to match regexp patterns in a file with a fixed string (not the other way around)linkfedilinkEnglisharrow-up0·2 months agoYeah, I ended up using awk, which solved my problem perfectly. I was just curious if I could do that with sed, but it seems too complicated. Thank very much, guys! linkfedilink
silas@lemmy.eco.br to Shell Scripting@programming.devEnglish · edit-22 months agoUsing sed to match regexp patterns in a file with a fixed string (not the other way around)plus-squaremessage-squaremessage-square4fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1message-squareUsing sed to match regexp patterns in a file with a fixed string (not the other way around)plus-squaresilas@lemmy.eco.br to Shell Scripting@programming.devEnglish · edit-22 months agomessage-square4fedilink
Yeah, I ended up using awk, which solved my problem perfectly. I was just curious if I could do that with sed, but it seems too complicated. Thank very much, guys!