Deutsch   English   Français   Italiano  
<fantome.forums.tDeContes-1E13EA.15484007052023@news.eternal-september.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Thomas <fantome.forums.tDeContes@free.fr.invalid>
Newsgroups: fr.comp.os.unix
Subject: Re: sortie erreur -> pipe
Date: Sun, 07 May 2023 15:48:40 +0200
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <fantome.forums.tDeContes-1E13EA.15484007052023@news.eternal-september.org>
References: <fantome.forums.tDeContes-7BAFDF.15454306052023@news.eternal-september.org> <u37s1p$prr$1@shakotay.alphanet.ch>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="54ae96961bd8a4a0546ac5d237a550d1";
	logging-data="3575808"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+3atqfAtjW99EmpLve827i0Xf9Fpeqp3Y="
User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
Cancel-Lock: sha1:T/wKHP4xlWYUqXSNYSkIURAWLyE=
Mail-Copies-To: nobody
Bytes: 1592

In article <u37s1p$prr$1@shakotay.alphanet.ch>,
 Marc SCHAEFER <schaefer@alphanet.ch> wrote:

> On Sat, 06 May 2023 15:45:43, Thomas 
> <fantome.forums.tDeContes@free.fr.invalid> wrote:
> > comment fait-on pour brancher la sortie erreur, à la place de la sortie 
> > standard, sur l'entrée du programme suivant ?

> # stderr ajouté à stdout
> schaefer@reliant:~$ (echo bla; echo >&2 toto) 2>&1 | wc -l
> 2

$ make --warn-undefined-variables 2>&1 | grep -vF 'avertissement : 
variable «   » ind'

merci bcp :-)

-- 
RAPID maintainer
http://savannah.nongnu.org/projects/rapid/