Newline for arguments. Is that possible?
by packets from LinuxQuestions.org on (#5Q2EQ)
We have application that feeds to a script. It has 3 variables and I am passing it as arguments.
script_name $1 $2 $3
The $1 and $2 is a string while $3 consist of bunch of strings with new line. I notice if there is new line, it was not able to receive properly but if it is a one line there is no issue.
Any recommendation or is it not possible to use argument with new line?
script_name $1 $2 $3
The $1 and $2 is a string while $3 consist of bunch of strings with new line. I notice if there is new line, it was not able to receive properly but if it is a one line there is no issue.
Any recommendation or is it not possible to use argument with new line?