Date: Sun, 12 Jun 2005 16:42:28 -0400 From: Christopher Black <cblack@securecrossing.com> To: Mike Meyer <mwm@mired.org> Cc: questions@freebsd.org Subject: Re: Problems with command line scratch files in zsh Message-ID: <1118608948.705.6.camel@localhost> In-Reply-To: <17067.62149.92183.56827@guru.mired.org> References: <17067.62149.92183.56827@guru.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-BRH8vpG2zTvCYvHHg4ok Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Why not just 'cat /etc/motd | wc' ? On Sun, 2005-06-12 at 03:31 -0500, Mike Meyer wrote: > Since going to 5.x with devfd, I've noticed that some of the shell > constructs used by zsh (and other shells - I know zsh didn't invent > this) quit working. To wit: >=20 > guru% wc <(cat /etc/motd) > wc: /dev/fd/11: open: No such file or directory >=20 > The <(...) construct runs the pipe in (), and replaces the <(...) with > the name of the /dev/fd/ entry for the output of that pipe. The file > exists for the shell process doing all this. But when the comm process > tries to open the file to read the data, the file doesn't exist. This > is pretty nasty. >=20 > Anyone got any suggestions on how to fix this? A bug report with a > patch, maybe (I couldn't find any such bug report)? Workarounds? Maybe > this should go to hackers@freebsd.org? >=20 > Thanks, > <mike --=20 Christopher Black Chief Security Engineer Secure Crossing 22750 Woodward Suite 304 - Ferndale, MI 48220 Tel (800) 761-4299 | Direct (248) 658-6120 cblack@securecrossing.com | www.securecrossing.com --=-BRH8vpG2zTvCYvHHg4ok Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCrJ40APxZlIbJ6AwRAisMAJwJFOpqjO78709+sfdiJm6WdWCl6ACeNVNH MUsDpyrsnaDo8F7t7o+PpKM= =t2BB -----END PGP SIGNATURE----- --=-BRH8vpG2zTvCYvHHg4ok--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1118608948.705.6.camel>