Date: Mon, 17 Dec 2001 11:36:04 -0800 From: John Merryweather Cooper <john_m_cooper@yahoo.com> To: Erik Trulsson <ertr1013@student.uu.se> Cc: Steve Price <steve@FreeBSD.org>, Andreas Klemm <andreas@FreeBSD.org>, 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> In-Reply-To: <20011217201850.A21347@student.uu.se>; from ertr1013@student.uu.se on Mon, Dec 17, 2001 at 11:18:50 -0800 References: <200112171847.fBHIlbP69769@freefall.freebsd.org> <20011217130555.J72144@bsd.havk.org> <20011217201850.A21347@student.uu.se>
next in thread | previous in thread | raw e-mail | index | archive | help
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.) > > > -- > <Insert your favourite quote here.> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011217113604.A63493>