[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cron Output per mail



Wolfgang Erig schrieb:
> On Thu, May 02, 2002 at 06:53:39PM +0200, Goran Ristic wrote:
> > 
> > |> > erzwingen: blablubb |> /dev/null
> > |> Dieses Konstrukt kenne ich noch nicht und "man bash" ergab nichts.
> > |> Klär mich bitte mal auf,
> > 
> > Nee, ich weiß, steht nicht drin. Ist lediglich eine erzwungene
> > Ausgabe an <wasimmer>.
> > 
> Hmmm, als Shell-Junkie läßt mir das keine Ruhe. Wenn Du mich fragst,
> würde ich sagen, daß die Shell den Ausdruck zwar akzeptiert, aber
> das Pipe-Zeichen einfach ignoriert. Vielleicht weiß ja jemand anderes
> mehr,

Vermutlich ist >| gemeint, das ein gesetztes "noclobber" übersteuert.

man bash:

|         [n]>word
|
| If  the  redirection operator is >, and the noclobber option to the
i set builtin has been enabled, the redirection will fail if the file
| whose name results from the expansion of word exists and is a regu­
| lar  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.

In "Linux in a Nutshell" wird es auch erwähnt.



Ciao
Walter


-- 
Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-request@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)



Reply to: