aidan@lemmy.world to Programmer Humor@lemmy.ml · 3 months agoI may not be the brightestlemmy.worldimagemessage-square24fedilinkarrow-up1202arrow-down14
arrow-up1198arrow-down1imageI may not be the brightestlemmy.worldaidan@lemmy.world to Programmer Humor@lemmy.ml · 3 months agomessage-square24fedilink
minus-squaredohpaz42@lemmy.worldlinkfedilinkEnglisharrow-up2·3 months agoIt’s all good. If you’re using bash and readline to read the file, you can use sudo echo ${INPUT@Q} (assuming your variable is named $INPUT) to have bash escape things like the quotes and other characters that could get you into trouble.
It’s all good. If you’re using bash and readline to read the file, you can use
sudo echo ${INPUT@Q}
(assuming your variable is named $INPUT) to have bash escape things like the quotes and other characters that could get you into trouble.