I have the following code snippet:
#!/bin/sh
if [ $1 = hi ]; then
echo 'The first argument was "hi"'
else
echo -n 'The first argument was not "hi" -- '
echo It was '"'$1'"'
fi
And I don't know what the flag -n after echo in the else statement stands for, does anyone knows the answer?
Thank you very much!