cm0002@sh.itjust.works to Programmer Humor@programming.dev · 17 hours agoEscaping a string when passing through multiple toolslemmy.mlimagemessage-square10linkfedilinkarrow-up1196cross-posted to: programmerhumor@lemmy.ml
arrow-up1196imageEscaping a string when passing through multiple toolslemmy.mlcm0002@sh.itjust.works to Programmer Humor@programming.dev · 17 hours agomessage-square10linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squaremonkeyman512@lemmy.worldlinkfedilinkEnglisharrow-up4·edit-214 hours 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·8 hours agoNow say the CLI tool is passed a string that has “-arg1-” inside it.
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.