Robert Moskowitz wrote:
Mogens Kjaer wrote:
On 09/23/2009 01:35 PM, Robert Moskowitz wrote:
'/test1: line 1: syntax error near unexpected token `{
Starting the script with
#!/bin/bash
might be a good idea.
I used vi to insert this line and I get:
./test1 -bash: ./test1: /bin/bash^M: bad interpreter: No such file or directory
I don't see that control M in vi or gedit...
vi -b test1