aidan@lemmy.world to Programmer Humor@lemmy.ml · 4 months agoI may not be the brightestlemmy.worldimagemessage-square11fedilinkarrow-up1246arrow-down15
arrow-up1241arrow-down1imageI may not be the brightestlemmy.worldaidan@lemmy.world to Programmer Humor@lemmy.ml · 4 months agomessage-square11fedilink
minus-squarelistless@lemmy.cringecollective.iolinkfedilinkarrow-up1arrow-down1·edit-24 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.