Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 1996 13:41:28 -0400
From:      "Gary Chrysler" <tcg@ime.net>
To:        <questions@freebsd.org>
Subject:   sh shell script help needed!
Message-ID:  <199609291742.NAA26826@ime.net>

next in thread | raw e-mail | index | archive | help

What am I doing wrong here?? (Yes, I know it's me :)
Such a simple thing and I can't get it to work!

	# test script
	# based on /etc/rc usage of if
	if [ $1 = yes ] then
	  echo Yes
	fi

ramillia {1377} ./test yes
if: Expression Syntax
ramillia {1378}

Such an easy thing... ... I've tried every variation I can think of while
crusing through stuff in /etc

Thanks.

-Enjoy
Gary
~~~~~~~~~~~~~~~~
Improve America's Knowledge... Share yours
The Borg... Where minds meet
(207) 929-3848




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