Re: Bug or feature? No EOF on /proc/xxx/fd/x

Jared Mauch (jared@wolverine.hq.cic.net)
Wed, 14 Feb 1996 10:00:38 -0500 (EST)


Not that it matters... but it works in 1.3.60

Linux wolverine.hq.cic.net 1.3.60 #2 Wed Feb 7 10:29:26 EST 1996 i486
wolverine:~> cat < (date)
Missing name for redirect.
wolverine:~> cat <(date)
Missing name for redirect.
wolverine:~> bash
[jared@wolverine jared]$ cat <(date)
Wed Feb 14 10:00:08 EST 1996
[jared@wolverine jared]$ exit

Dale Scheetz spewed:
> On Tue, 13 Feb 1996, Austin Donnelly wrote:
>
> <stuff deleted>
> >
> > As you say, an even easier was to see the bug in action is:
> >
> > $ cat <(date)
> >
> > which should print the current date, but doesn't in newer
> > kernels.
>
> I'm running a 1.3.57 kernel and this command does print the date.
> However, the prompt fails to return untill a ^C, so it isn't quite right
> either.
>
> There was a problem recently with less and proc files (had to do with 0
> file length reported by stat()). This looks like a similar glitch with EOF.
>
> Later,
>
> Dwarf
>
> ------------ --------------
>
> aka Dale Scheetz Phone: 1 (904) 877-0257
> Flexible Software Fax: NONE
> Black Creek Critters e-mail: dwarf@polaris.net
>
> ------------ If you don't see what you want, just ask --------------
>