Afficher un message
Vieux 16/03/2008, 01h47   #3
Maxwell Lol
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: weird behavior of grep

dave_140390@hotmail.com writes:

> Now, if I grep this file for [a-z], I get:
> $ grep [a-z] test
> small line
> LARGE LINE
>
> Now, _that_ is unexpected!



try

echo grep [a-z] test

to see what grep REALLY gets as input.
(Remember, the shell parses meta-characters before grep seel them).


  Réponse avec citation
 
Page generated in 0,04955 seconds with 9 queries