Like everybody, I do it a lot more than I'd admit.Shell scripting is hard, don't do it.
Ha, yes, this makes sense. Thanks!calls echo with four arguments. Echo prints each argument separated by space.Code:
echo $JUNKcalls echo with one argument. The argument includes newline characters.Code:
echo "$JUNK"
For some reason I was thinking of echo not evaluating args...
(echo junk) vs (echo 'junk) vs (echo a b c d) vs (echo 'a 'b 'c 'd) vs (echo '(a b c d)) ...ad infinitum, lol.
Statistics: Posted by bitrat — 2024-05-22 21:12