|
I am a little confused about making newline to behave as intended. whether i use double quotes or single or escape twice, i.e \\n, the newline gets printed as a literal character. I don't seem to understand what my confusion is right now. help pls. script follows:
#!/bin/bash
#showing function positional paramters fxneg () { echo "get the function name, which is $FUNCNAME." echo "special parameter 0 is $0." echo "this is the first argument passed, which is $1." return } fxneg muteman echo "now that the function is executed," echo "special parameter 0 is now $0.\n" echo "and the number of arguments is $#."
|