Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3260

Programming • bash variables, newlines and double-quotes...

$
0
0
Hi,

could somebody point me to the formal explanation for this behaviour please?

Code:

$ JUNK=$(seq 1 4)$ echo "$JUNK"1234$ echo $JUNK1 2 3 4

Statistics: Posted by bitrat — 2024-05-21 21:58 — Replies 7 — Views 181



Viewing all articles
Browse latest Browse all 3260

Trending Articles