From owner-cvs-all Mon Dec 17 11:19: 5 2001 Delivered-To: cvs-all@freebsd.org Received: from hamberg.it.uu.se (hamberg.it.uu.se [130.238.9.198]) by hub.freebsd.org (Postfix) with ESMTP id 2518437B41A; Mon, 17 Dec 2001 11:18:52 -0800 (PST) Received: (from ertr1013@localhost) by hamberg.it.uu.se (8.8.5/8.8.5) id UAA23811; Mon, 17 Dec 2001 20:18:50 +0100 (MET) Date: Mon, 17 Dec 2001 20:18:50 +0100 From: Erik Trulsson To: Steve Price Cc: 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: <20011217201850.A21347@student.uu.se> References: <200112171847.fBHIlbP69769@freefall.freebsd.org> <20011217130555.J72144@bsd.havk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011217130555.J72144@bsd.havk.org>; from steve@FreeBSD.org on Mon, Dec 17, 2001 at 01:05:55PM -0600 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 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 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message