[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: newline in command-line argument?



scripsit Kendall Shaw:
> Can I include a newline in an argument on the command line?
> 
> For example, this doesn't work:
> 
> A='asdf
> fdsa'

How about:

A="asdf\nfdsa"

-- 
Thanasis Kinias
Web Developer, Information Technology
Graduate Student, Department of History
Arizona State University
Tempe, Arizona, U.S.A.

Ash nazg durbatulûk, ash nazg gimbatul,
Ash nazg thrakatulûk agh burzum-ishi krimpatul



Reply to: