ts-7000
[Top] [All Lists]

[ts-7000] Re: Scripting Problem

To:
Subject: [ts-7000] Re: Scripting Problem
From: "roger_cortesi" <>
Date: Wed, 03 Aug 2005 16:36:33 -0000
--- 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/
 



<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU