Implement non-clobbering file io. Use the >? operator for this for now.

darcs-hash:20071026184232-75c98-11edcbc7548c8ad3a2d4b648cb7ae18067569f02.gz
This commit is contained in:
liljencrantz
2007-10-27 04:42:32 +10:00
parent a97faaf664
commit 2160777d2f
5 changed files with 53 additions and 9 deletions

View File

@@ -26,6 +26,7 @@ enum token_type
TOK_REDIRECT_APPEND,/**< redirection append token */
TOK_REDIRECT_IN,/**< input redirection token */
TOK_REDIRECT_FD,/**< redirection to new fd token */
TOK_REDIRECT_NOCLOB, /**<? redirection token */
TOK_BACKGROUND,/**< send job to bg token */
TOK_COMMENT/**< comment token */
}