Need some grep RE help

Darrin Chandler dwchandler at stilyagin.com
Sat Jun 10 13:40:41 MST 2006


On Sat, Jun 10, 2006 at 01:28:57PM -0700, Dazed_75 wrote:
> There are files that seem to contain a lot of lines seemingly used to
> display information suitable for many locales.  One example is
> ~/.local/share/applications/gconf-editor.desktop.  These would be a lot
> easier to explore if I could look at them and not see the lines for locales
> other than my language.
> 
> My thought was to do a cat foofile | grep regexpl where regexpl would pass
> all lines having no [*] term unless it were [en*].  Unfortunately, I have
> forgotten much of what I once knew about regular expressions.  I know I 
> want
> to relearn, but not today.  A little help please?

Either a better description of the line format or a few sample lines
would help a lot.

-- 
Darrin Chandler            |  Phoenix BSD Users Group
dwchandler at stilyagin.com   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |


More information about the PLUG-discuss mailing list