Kendall Shaw wrote: > Can I include a newline in an argument on the command line? > > For example, this doesn't work: > > A='asdf > fdsa' In what sense doesn't it work? It works for me. craig% A='asdf fdsa' craig% echo "$A" asdf fdsa The quotes in echo "$A" are not optional, by the way, if you want the newline displayed correctly. If the above doesn't work, it could be that your shell behaves differently; I'm using bash 2.05b-2 from unstable. Craig
Attachment:
pgp6DTkDSgNia.pgp
Description: PGP signature