-
-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[doc/ref] Document the redirect to file behavior
We have a bash- and zsh-compatible behavior.
- Loading branch information
Andy C
committed
Sep 1, 2023
1 parent
9fd4445
commit 3410759
Showing
1 changed file
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Not bad to mention the
>|
only in a comment. I did get confused by it and noclobber when first encountered and used.I came to think that it's good to know about noclobber, however, rather explained right-away as a feature for debugging output files, much less, if at all, to prevent accidental overwriting (it's not active everywhere, so fosters getting into a wrong routine, that deviates from the general default).