Re: truncating files
From the bash manpage:
noclobber
If set, bash does not overwrite an existing file
with the >, >&, and <> redirection operators. This
variable may be overridden when creating output
files by using the redirection operator >| instead
of > (see also the -C option to the set builtin
command).
Bob
On Sun, 7 Dec 1997,William R Ward <hermit@BayView.COM> wrote:
> >> 1) I use set -C in bash, so I can't say > foo if foo exists wthout
> >> first saying set +C.
>
> > ">| foo" overrides the noclobber option
>
> Don't you mean ">!", not ">|"??
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: