writing to /dev/stderr
hello,
i am trying to print to /dev/stderr from within gawk
(print $0 > "/dev/stderr") but i get the following error:
gawk: cmd. line:30: (FILENAME=- FNR=1) fatal: can't redirect to
`/dev/stderr' (Permission denied)
i know there is something wrong with the permission, i can redirect if
i do it as root, but i don't know too much about /proc to even
understand where the problem begins. this used to work fine before
some upgrade (from unstable) but unfortunately i don't know which
package did it. if anybody has any ideas, i am willing to experiment,
maybe there is a bug in some package somewhere. thanks.
--alex--
--
| I believe the moment is at hand when, by a paranoiac and active |
| advance of the mind, it will be possible (simultaneously with |
| automatism and other passive states) to systematize confusion |
| and thus to help to discredit completely the world of reality. |
Reply to: