aidan@lemmy.world to Programmer Humor@lemmy.ml · 3 months agoI may not be the brightestlemmy.worldexternal-linkmessage-square18fedilinkarrow-up14arrow-down10
arrow-up14arrow-down1external-linkI may not be the brightestlemmy.worldaidan@lemmy.world to Programmer Humor@lemmy.ml · 3 months agomessage-square18fedilink
minus-squarelistless@lemmy.cringecollective.iolinkfedilinkarrow-up1·edit-23 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.