thanks to all for your help,
it's things like this that make me appreciate the increadible resources we 
all have at our fingertips.
thanks again.


>From: rpjday <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: cat infile | translate all occurences of "NOT NULL" to ""
>Date: Wed, 13 Sep 2000 11:32:55 -0400 (EDT)
>
>On Wed, 13 Sep 2000, Charles Galpin wrote:
>
> > Do you want to remove the entire line if they *begin with those
> > characters? If so, creating the following file, making it executable and
> > running it will do this.
> >
> > #!/usr/local/bin/perl -ni
> > # convert.pl
> > # usage: ./convert.pl file1 file2 file3 ...
> > next if /^[; ]/;
> > next if /^.com/;
> > next if /\.(ROOT|GTLD)-/;
> > print;
> >
> > the -n switch does what -p does, but does not print the line by default
> > I combined a few of the similar matches. You could write it in one big
> > (but harder to understand) regex if you wanted to.
> >
>while i love perl, as per my recent post, this seems like the
>perfect job for sed -- deleting lines based on a simple matching.
>
>rday
>
>--
>"This is Microsoft technical support.  How may I misinform you?"
>
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to