Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: setopt noclobber in /proc-filesystem



On Mon, Aug 15, 2005 at 01:14:55PM +0200, Michael Prokop wrote:
> Is there any chance to use option 'noclobber' but allow writing to
> /proc-filesystem anyway?

I can imagine using a preexec() function to examine the command-line
and setting noclobber on or off based on whether it looks like the
command is trying to redirect to a file in /proc.

..wayne..



Messages sorted by: Reverse Date, Date, Thread, Author