bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: grep 2.4.2


From: Alain Magloire
Subject: Re: grep 2.4.2
Date: Tue, 6 Mar 2001 11:39:11 -0500 (EST)

> 
> Hello,
> 
> Assuming the datafile which contains one line:
> 
> Main
> 
> issuing: grep '\<[a-z][a-z]*n\>' datafile
> 
> returns that line.
> 
> I was expecting "return lines where a word starts with lowercase,
> followed by any number of lowercase and ending with letter n" hence no
> line returned.

# export LANG=C
# /bin/echo "Main\nmain" |grep '\<[a-z][a-z]*n\>'
main
#

Please check your locale variables. Bracket expression range may
differ depending on the language.


-- 
au revoir, alain
----
Aussi haut que l'on soit assis, on n'est toujours assis que sur son cul !!!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]