You are viewing a single comment's thread. Return to all comments →
the input parameter comes from stdin, not from comand line arguments
in this case, this code is wrong:
#!/bin/sh echo "Welcome $1
but this works well:
#!/bin/sh echo "Welcome "`cat -`
Seems like cookies are disabled on this browser, please enable them to open this website
A Personalized Echo
You are viewing a single comment's thread. Return to all comments →
the input parameter comes from stdin, not from comand line arguments
in this case, this code is wrong:
but this works well: