From owner-freebsd-questions Sat Feb 23 19:30:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (oe30.pav2.hotmail.com [64.4.36.87]) by hub.freebsd.org (Postfix) with ESMTP id D649D37B402 for ; Sat, 23 Feb 2002 19:30:24 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 23 Feb 2002 19:30:24 -0800 X-Originating-IP: [66.32.85.213] From: "Jeff Jeter" To: "Stuart Tanner" Cc: "FreeBSD Questions" References: <1014513894.57377.130.camel@osiris.sigterm.com> <1014518602.57377.196.camel@osiris.sigterm.com> Subject: Re: Linux shell scripts Date: Sat, 23 Feb 2002 22:30:25 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Message-ID: X-OriginalArrivalTime: 24 Feb 2002 03:30:24.0832 (UTC) FILETIME=[98AF7C00:01C1BCE3] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG That's fine. i cc'd the group. hopefully someone can help. ----- Original Message ----- From: "Stuart Tanner" To: "Jeff Jeter" Cc: "FreeBSD Questions" Sent: Saturday, February 23, 2002 9:43 PM Subject: Re: Linux shell scripts > On Sun, 2002-02-24 at 14:20, Jeff Jeter wrote: > > Thanks, installing bash fixed one. > > The other i referred to in an earlier post regardint turboprint. It is > > generated by another script which works fine. attached is the generator > > script. > > > > Here is the output: > > > > OUTPUT: > > bsd# turboprint -Plp testpage-a4.ps output.prn > > turboprint - executing tpfilter manually > > printer name: lp > > spool directory: turbo2 > > *** calling tpfilter now *** > > head: illegal line count -- 1c > > eval: 1: Syntax error: "(" unexpected > > *** tpfilter finished *** > > the output file may be copied to the printer now > > for example: cat [OUTPUTFILE] > /dev/lp0 > > bsd# > > > > Thanks > > Jeff Jeter > > I'm sorry, I don't know enough about shell scripting to solve the > problems with this script. > > > > > > > ----- Original Message ----- > > From: "Stuart Tanner" > > To: "Jeff Jeter" > > Cc: "FreeBSD Questions" > > Sent: Saturday, February 23, 2002 8:24 PM > > Subject: Re: Linux shell scripts > > > > > > > On Sun, 2002-02-24 at 13:17, Jeff Jeter wrote: > > > > I have several apps that use shell schripts. THese apps are designed > > for linux. when i run these scripts with sh i get odd errors such as Syntax > > error: unexpected ")" and > > > > function: not found > > > > Syntax error: unexpected "}". > > > > > > > > I ran the one of them w/ the unexpected "}" w/ csh, and tcsh got this > > error. > > > > CONFARGS=--enable-opengl: Connand not found > > > > prefix=/usr/local: command not found > > > > prefix: undefined variable > > > > > > > > How do i geth these working. I can post the (t)csh output from the > > other script if needed. > > > > > > Are the shells that the scripts are written for installed? > > > > > > -- > > > Stuart Tanner > > > > > > Dave Mack: "Your stupidity, Allen, is simply not up to par." > > > Allen Gwinn: "Yours is." > > > > > > > -- > Stuart Tanner > > "He flung himself on his horse and rode madly off in all directions" > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message