From owner-cvs-all Mon Dec 17 11:36:28 2001 Delivered-To: cvs-all@freebsd.org Received: from smtp.bmi.net (smtp.bmi.net [204.57.191.31]) by hub.freebsd.org (Postfix) with ESMTP id D17CF37B41A; Mon, 17 Dec 2001 11:36:13 -0800 (PST) Received: from johncoop.MSHOME (drumheller-router.bmi.net [206.63.201.3] (may be forged)) by smtp.bmi.net (Pro-8.9.3/Pro-8.9.3) with ESMTP id TAA09835; Mon, 17 Dec 2001 19:43:18 -0800 Date: Mon, 17 Dec 2001 11:36:04 -0800 From: John Merryweather Cooper To: Erik Trulsson Cc: Steve Price , Andreas Klemm , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: Re: cvs commit: ports/print/apsfilter Makefile ports/print/apsfilter/files patch-bin::aps2file ports/print/apsfilter/scripts pre-configure Message-ID: <20011217113604.A63493@johncoop.MSHOME> References: <200112171847.fBHIlbP69769@freefall.freebsd.org> <20011217130555.J72144@bsd.havk.org> <20011217201850.A21347@student.uu.se> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <20011217201850.A21347@student.uu.se>; from ertr1013@student.uu.se on Mon, Dec 17, 2001 at 11:18:50 -0800 X-Mailer: Balsa 1.3.0 Lines: 66 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2001.12.17 11:18 Erik Trulsson wrote: > On Mon, Dec 17, 2001 at 01:05:55PM -0600, Steve Price wrote: > > On Mon, Dec 17, 2001 at 10:47:37AM -0800, Andreas Klemm wrote: > > > Log: > > > Unluckily FreeBSD's shell isn't able to read from/write to > /dev/stdin > > > and stdout. > > > > Perhaps I missed the discussion somewhere else but can you please > > explain what this means and give an example of a short script that > > doesn't work with /bin/sh? > > Just try the following command: > > echo "hello" > /dev/stdout > It works with tcsh/csh (which happens to be the default root shell on FreeBSD). > > If you use tcsh or zsh (or presumably bash but I haven't tried that) > this > will indeed output "hello" to stdout. > If you use /bin/sh it will instead complain that it cannot create > /dev/stdout. > > This is probably a bug in /bin/sh > > > > > > Therefore we have to use bash as shell for > /usr/local/bin/aps2file > > > program. > > > > You don't *have* to use bash. You could probably get away with > using > > zsh or a number of other shells. Personally and maybe I'm the only > > one but I'd like to see all of the ports that require bash be > changed > > to use zsh instead because I've got that on most all of my systems > > already. :) > > Yes, that would be nice :-), but I think that bash is somewhat more > standards-compliant than zsh. > (As I understand it the bash-developers try fairly hard to make sure > bash > follows the POSIX standard. The zsh developers don't care all that > much > about it.) > > > -- > > Erik Trulsson > ertr1013@student.uu.se > -- jmc || MacroHard -- \ || the perfection of form over | ----------------------------------|| substance, marketing over | Web: http://www.borgsdemons.com || performance, and greed over | || design . . . | =====================================================================/ Public Key: http://www.borgsdemons.com/Personal/pgpkey.asc | =====================================================================\ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message