Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: clobbering with >&
- X-seq: zsh-users 2860
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Paul Ackersviller <paulda@xxxxxxxx>, zsh-users@xxxxxxxxxxxxxx
- Subject: Re: clobbering with >&
- Date: Tue, 11 Jan 2000 17:41:18 +0000
- In-reply-to: <20000110195717.A1119@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000110195717.A1119@xxxxxxxxxxxxxxxxxxx>
On Jan 10, 7:57pm, Paul Ackersviller wrote:
} Subject: clobbering with >&
}
} Here's something I don't see covered in the docs -- is it possible to
} override the noclobber variable when doing output redirection with >&?
} I've tried the obvious permutations of ! and | with it, but just get syntax
} errors.
What syntax errors? Can you give a precise example, please?
} Never mind, I just answered my own question. It appears >&\! will do the
} trick. Perhaps this should be documented.
Both >&| and >&! *should* work just fine, without the backslash. Note that
you need a space after the `!' to prevent it being from taken as a history
reference, but even that isn't necessary with the `>&|' form.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author