D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Embarising Java Question

 

On Sat, 2008-04-05 at 16:56 +0100, Steve Marvell wrote:
> This is actually an embarassing shell question :)
> 
> You want a single equals.
> 
> if [ $ans = "n" ]
> 
Note also the spaces around the '=' sign. The OP didn't have these, and
that was the problem.


John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: John.Horne@xxxxxxxxxxxxxx       Fax: +44 (0)1752 233839

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html