aidan@lemmy.world to Programmer Humor@lemmy.ml · 2 years agoI may not be the brightestlemmy.worldimagemessage-square18linkfedilinkarrow-up17arrow-down10
arrow-up17arrow-down1imageI may not be the brightestlemmy.worldaidan@lemmy.world to Programmer Humor@lemmy.ml · 2 years agomessage-square18linkfedilink
minus-squarelistless@lemmy.cringecollective.iolinkfedilinkarrow-up1arrow-down1·2 years 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
echoing using double quotes which will interpret characters. Don’t do that. That’s a bug.catorcpthe file to the destination;printfif the contents are all in that variable.