Date: Wed, 15 May 1996 08:56:37 -0600 From: Sean Kelly <kelly@fsl.noaa.gov> To: hernanw@fsl.orst.edu Cc: freebsd-questions@freebsd.org Subject: Re: foreach usage Message-ID: <9605151457.AA15899@fslg8.fsl.noaa.gov> In-Reply-To: <Pine.SUN.3.91.960514072256.22378B-100000@picea.FSL.ORST.EDU> (message from Wayne Hernandez on Tue, 14 May 1996 07:27:39 -0700 (PDT))
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Wayne" == Wayne Hernandez <hernanw@fsl.orst.edu> writes: Wayne> foreach i ($COLS) Wayne> echo $i Wayne> diff ~hernanw/majordomo-1.93/$1 ~hernanw/test/majordomo-1.93/$1 You want $i, not $1, here ..................^..........and here.............^ (And, csh scripts are nasty. Use sh.) -- Sean Kelly NOAA Forecast Systems Laboratory kelly@fsl.noaa.gov Boulder Colorado USA http://www-sdd.fsl.noaa.gov/~kelly/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9605151457.AA15899>