--- In "jgalindo2" <> wrote:
> I am developing a shell program and it works just fine, but I always
> get the message:
>
> : not found: 5:
>
> This is the script:
>
> echo "Shell"
> x=24
> echo $x
>
> And here is how I am running it, and what it returns:
>
> $./shell.sh
> Shell
> 24
> : not found: 5:
> $
>
> What am I doing wrong?
> Whar am I missing?
The first line should start with #!/bin/sh
This should answer all your questions about shell scripting (in Bash)
http://www.tldp.org/LDP/abs/html/
It is simply the best referance on the topic I have ever found.
roger
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12hf369pu/M=362329.6886308.7839368.1510227/D=groups/S=1705005378:TM/Y=YAHOO/EXP=1123094196/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|