aidan@lemmy.world to Programmer Humor@lemmy.ml · 4 months agoI may not be the brightestlemmy.worldimagemessage-square7fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageI may not be the brightestlemmy.worldaidan@lemmy.world to Programmer Humor@lemmy.ml · 4 months agomessage-square7fedilink
minus-squarelistless@lemmy.cringecollective.iolinkfedilinkarrow-up0arrow-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.