Archive

Archives pour 24/09/2004

Vendredi - Modèles Multiples

24/09/2004

Specifiez plusieurs modèles à appliquer à chaque ligne répondant aux critères :

$ cat many

line one

the second line

and the third

the fourth

line five

the six

and the last line

$ awk ‘/^the//^line/’ many

line one

the second line

the fourth

line five

the six

Appliquer une commande différente à chaque…

Thierry Astuces OSXFAQ