Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 1999 01:53:12 -0400
From:      "David S. Jackson" <dsj@dsj.net>
To:        "David S. Jackson" <dsj@dsj.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: bash syntax error...
Message-ID:  <19990914015312.A2145@juno.dsj.net>
In-Reply-To: <19990913143928.A74001@juno.dsj.net>; from David S. Jackson on Mon, Sep 13, 1999 at 02:39:28PM -0400
References:  <19990913143928.A74001@juno.dsj.net>

next in thread | previous in thread | raw e-mail | index | archive | help
So then David S. Jackson (dsj@dsj.net) said . . .

> Hi,
> 
> I get the following error
> 
> /home/dsj/bin/ascfg: 175: Syntax error: "do" unexpected (expecting "}")

Turns out I had the magic line:  #!/bin/sh instead of #!/bin/bash.  Oops,
aren't I silly.

--
David S. Jackson                       http://www.dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Either he's dead or my watch has stopped
             --Groucho Marx


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990914015312.A2145>