cm0002@sh.itjust.works to Programmer Humor@programming.dev · 5 days agoEscaping a string when passing through multiple toolslemmy.mlexternal-linkmessage-square11fedilinkarrow-up1209arrow-down10
arrow-up1209arrow-down1external-linkEscaping a string when passing through multiple toolslemmy.mlcm0002@sh.itjust.works to Programmer Humor@programming.dev · 5 days agomessage-square11fedilink
minus-squareCandleTiger@programming.devlinkfedilinkarrow-up14·5 days agoAaaaaaaaaaaaaaaaaaa No!!! My data! Please stop doing that!
minus-squaremonkeyman512@lemmy.worldlinkfedilinkEnglisharrow-up4·edit-25 days agoI think I have seen a few CLI tools that put the input between an open and close arg like this “-arg1 random passthrough string -arg1-”
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up0·5 days agoNow say the CLI tool is passed a string that has “-arg1-” inside it.
Aaaaaaaaaaaaaaaaaaa No!!! My data! Please stop doing that!
I think I have seen a few CLI tools that put the input between an open and close arg like this “-arg1 random passthrough string -arg1-”
Now say the CLI tool is passed a string that has “-arg1-” inside it.