cm0002@sh.itjust.works to Programmer Humor@programming.dev · 7 months agoEscaping a string when passing through multiple toolslemmy.mlimagemessage-square9linkfedilinkarrow-up1190arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up1190arrow-down1imageEscaping a string when passing through multiple toolslemmy.mlcm0002@sh.itjust.works to Programmer Humor@programming.dev · 7 months agomessage-square9linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareCandleTiger@programming.devlinkfedilinkarrow-up14·7 months agoAaaaaaaaaaaaaaaaaaa No!!! My data! Please stop doing that!
minus-squaremonkeyman512@lemmy.worldlinkfedilinkEnglisharrow-up3·7 months 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-up1·7 months 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.