the first line of every unix script written in an interpreted language always has a "#!<path-to-the-language>"
is there a way to include other text in that first line without it affecting the ability of the script to run???
for instance, if i change the following line:
#!/bin/sh
echo blah
echo `date`
echo `who`
echo `uptime`
to
#!/bin/sh #...##&#@@@#@#R
echo blah
echo `date`
echo `who`
echo `uptime`
I get the following error:
/bin/sh: #...##&#@@@#@#R: No such file or directory
The ultimate goal here is to remove all lines from a script and have the code in the script be on one line (no matter how long the line ends up being). however, if that cant be done, i can live with just being able to add other text to the first line of the script.
can this be done?