| [SSFR] Re: [SSFR] Re: [SSFR] Re: [SSFR] différentes conditions | 
[ Thread Index | 
Date Index
| More debianworld.org/shellscript-fr Archives
] 
On Tue Aug  9 07:51:08 2005 +00, debian user <debian@xxxxxxxxx> wrote
[..Zappé 27 lignes et 1374 caractères..]
> 
> C'est bon j'ai trouvé :
> 
> cat fic.log | sed 's/\(.*\)|.*/\1/' > nouveaufic.log
Ou plus court :
sed 's/|.*//' fic.log > nouveaulog.log 
À+
PP
-- 
CV sur http://patrickpercot.free.fr
Groupe Morbihannais d'Utilisateurs de Logiciels Libres http://www.tuxbihan.org
GPG fingerprint = 1A4F E154 3D2C A20E E4CA  A543 7951 C5C2 E44A A0B5
Patrick Percot.