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-up4·1 month 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-21 month agoUsing sed to match regexp patterns in a file with a fixed string (not the other way around)plus-squaremessage-squaremessage-square6fedilinkarrow-up111arrow-down11
arrow-up110arrow-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-21 month agomessage-square6fedilink
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!