[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hurd translator



> This is not something that can be done this way in Unix, so a program would
> not expect it to work the way it is written above, so in the Unix world this
> is not a useful feature to have.

Try this:

        neal@bassanio:~ (0)$ mkfifo foo
        neal@bassanio:~ (0)$ while /bin/true; do echo foo > foo; echo X; done
        X
        X
        X
        bash: foo: Interrupted system call
        neal@bassanio:~ (1)$ 

This was produced by running:

        neal@bassanio:~ (0)$ cat foo
        foo
        neal@bassanio:~ (0)$ cat foo
        foo
        neal@bassanio:~ (0)$ cat foo
        foo

Remember, cat waits until it receives an EOF.



Reply to: