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

Re: shell: ajouter du texte en début de ligne d'un fichier



    Bonjour,


Le mardi 24 octobre 2006, Jean-Michel OLTRA a écrit...


> sed -f traite.sed mon_fichier | sed /^<traité>/ N;s/\n//' > fichier_traite
                                      ^
                                  j'ai oublié le ' avant

-- 
jm

A.E.L. Sarl (R.C.S CASTRES 490843240)
http://www.affaires-en-ligne.com



Reply to: