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 [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)

Antwort per Email an