Re: Pb avec SED et ligne blanche
--- Stephane Leclerc <sleclerc@actionweb.fr>
> wrote:
<...>
>Pour l'instant, je fait :
>
>sed "/# debut bloc 2/,/# fin bloc 2/d" test.replace > test.replace.new
>
>Mais je me retrouve après avec 2 lignes blanches qui ne servent plus à rien
Solution bête:
sed ... | tail +3 > test.replace.new
cela devrait couper les deux premières lignes.
( ou head pour couper les dernières )
HTH,
Romain
_____________________________________________________________
Sign up for FREE email from the Official Site for Garfield and Friends. Just go to http://www.e-garfield.com
Reply to: