alias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 2 days agoEven better than the originallemmy.worldimagemessage-square12fedilinkarrow-up199arrow-down13
arrow-up196arrow-down1imageEven better than the originallemmy.worldalias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 2 days agomessage-square12fedilink
minus-squaresik0fewl@lemmy.calinkfedilinkarrow-up1·edit-22 days agoI was thinking sed, too, but to replicate the behaviour (and scene): echo "HOLD THE DOOR" | sed -n ' p s/E//g p s/L//g p s/TH//g p s/ //g p s/DO//g p' Note: -n suppresses the default printing that sed does, so I could include the last p for symmetry and clarity 🙂
I was thinking sed, too, but to replicate the behaviour (and scene):
Note:
-nsuppresses the default printing that sed does, so I could include the lastpfor symmetry and clarity 🙂