aidan@lemmy.world to Programmer Humor@lemmy.ml · 9 months agoI may not be the brightestlemmy.worldexternal-linkmessage-square22fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkI may not be the brightestlemmy.worldaidan@lemmy.world to Programmer Humor@lemmy.ml · 9 months agomessage-square22fedilink
minus-squarelistless@lemmy.cringecollective.iolinkfedilinkarrow-up0·edit-29 months agoAnd there’s your problem. You’re echoing using double quotes which will interpret characters. Don’t do that. That’s a bug. cat or cp the file to the destination; printf if the contents are all in that variable.
And there’s your problem. You’re
echo
ing using double quotes which will interpret characters. Don’t do that. That’s a bug.cat
orcp
the file to the destination;printf
if the contents are all in that variable.