From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <95a7c5b1f7f5b2af46a55d992513406c@yourdomain.dom> To: 9fans@cse.psu.edu Subject: Re: [9fans] rc complaining about syntax error on { From: "Federico G. Benavento" Date: Wed, 28 Nov 2007 20:15:21 -0300 In-Reply-To: <490725B4-4F2D-42BA-B6D0-D634402E0429@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 0e2eb03c-ead3-11e9-9d60-3106f5b1d025 > but apparently rc scans its whole input for errors before executing, > so it brings me no closer to a solution. The file is /n/sources/ > contrib/pietro/12. What's going on? your script is unreadable... anyways, here the error, you havea single quote here: echo $0: cannot use date's -n option what's wrong with while(! ~ $#* 0) and switch() ? Federico G. Benavento --- /bin/fortune: Gnuemacs is portable except to machines that are too small. -Richard M. Stallman