zephyr@lemmy.worldM to linuxmemes@lemmy.world · 1 year agoWhich way do you expand variables?lemmy.worldexternal-linkmessage-square21fedilinkarrow-up1102arrow-down12
arrow-up1100arrow-down1external-linkWhich way do you expand variables?lemmy.worldzephyr@lemmy.worldM to linuxmemes@lemmy.world · 1 year agomessage-square21fedilink
minus-squarevrighter@discuss.tchncs.delinkfedilinkarrow-up2·1 year agothe actual behavior here is to echo the literal string “$foobar”, because the $ sign is escaped. so no variable expansion will take place at all.
minus-squareRazorsLedge@lemmy.worldlinkfedilinkarrow-up2·1 year agoOh lol. It doesn’t show the $ at all on my mobile app till I escaped it
minus-squarevrighter@discuss.tchncs.delinkfedilinkarrow-up2·1 year agoah, so it’s up to the client. I’m using jerboa, in this case
the actual behavior here is to echo the literal string “$foobar”, because the $ sign is escaped. so no variable expansion will take place at all.
Oh lol. It doesn’t show the $ at all on my mobile app till I escaped it
ah, so it’s up to the client. I’m using jerboa, in this case