From: Seebs Date: 2010-04-14T10:31:50+09:00 Subject: Re: how to delete the first two characters of each row? On 2010-04-14, Albert Schlef wrote: > Robert Klemme wrote: >> At your favorite shell prompt: >> >> $ cut -c 3- /home/pt/test/mtp.txt >| /home/pt/test/mtpback.txt > Where is ">|" explained? Looks useful. I did "man bash", and I can find > about three mentions of ">|" there, but it's not explained. If the redirection operator is >, and the noclobber option to the set builtin has been enabled, the redirection will fail if the file whose name results from the expansion of word exists and is a regular file. If the redirection operator is >|, or the redirection operator is > and the noclobber option to the set builtin command is not enabled, the redirection is attempted even if the file named by word exists. -s -- Copyright 2010, all wrongs reversed. Peter Seebach / usenet-nospam@seebs.net http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!