alias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 1 day agoEven better than the originallemmy.worldimagemessage-square12fedilinkarrow-up177arrow-down13
arrow-up174arrow-down1imageEven better than the originallemmy.worldalias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 1 day agomessage-square12fedilink
minus-squaresik0fewl@lemmy.calinkfedilinkarrow-up1·edit-223 hours 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 🙂