aidan@lemmy.world to Programmer Humor@lemmy.ml · 3 months agoI may not be the brightestlemmy.worldimagemessage-square22fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageI may not be the brightestlemmy.worldaidan@lemmy.world to Programmer Humor@lemmy.ml · 3 months agomessage-square22fedilink
minus-squarelistless@lemmy.cringecollective.iolinkfedilinkarrow-up0·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.