Re: Need some grep RE help

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Darrin Chandler
Date:  
To: Main PLUG discussion list
Subject: Re: Need some grep RE help
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
   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss