Single angle bracket would truncate an existing file before writing to it, so the file content would be only the output of the current run; double angle brackets will append to the end of an existing file, or create a new file if it doesn't exist yet -- just like in the perl "open" call (which is, after all, designed to mimic shell usage in this regard).
In reply to Re: Printing out to a .txt file.
by graff
in thread Printing out to a .txt file.
by fdillon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |