Re: way to cat a file with all lines except commented ones

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: JD Austin
Date:  
To: plug-discuss, JD Austin
CC: plug-discuss
Subject: Re: way to cat a file with all lines except commented ones
Quoting JD Austin <>:

> Quoting plug <>:
>
> > grep "^#" -v file_name
> I stand corrected, thats absolutely correct!
> the ^ is a 'regular expression'
>
> ^ means beginning of line
> % means end of line

$ means end of line not %

(doh! some funky editor I've been using uses % instead).

>
> JD
> --
> JD Austin
> Twin Geckos Technology Services LLC
> email:
> http://www.twingeckos.com
> phone/fax: 480.344.2640
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



--
JD Austin
Twin Geckos Technology Services LLC
email:
http://www.twingeckos.com
phone/fax: 480.344.2640



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss