Reputation: 960
I had a shell script that takes 3 parameters
test.sh a b c
I want to give each parameter in a new line
some thing like this :
test.sh a
b
c
i am on AIX Thanks.
Upvotes: 8
Views: 5473
Reputation: 6371
Just put \
at the end of line, it "escapes" the meaning of the character following it, which in this case is a newline.
test.sh a \
b \
c
Upvotes: 12