. \ , , .
/home/atul/myBash> cat -vte tst.sh
echo one\$
two\$
four$
/home/atul/myBash> chmod +x tst.sh
/home/atul/myBash> ./tst.sh
onetwo
/home/atul/myBash>
As a bash person
COMMENTS
... a word starting with C # calls that word and
all other characters on this line are ignored.
Tracking Modifying tst.sh File
/home/atul/myBash> cat -vte tst.sh
echo one\$
two \$
four$
/home/atul/myBash> ./tst.sh
onetwo
./tst.sh: line 4: four: command not found
/home/atul/myBash>
Note the space after two - it does # start a word . The string is interpreted as a comment. Word four is taken as the beginning of another team.
source
share