Re: SED Question

2002-03-07 Thread Cameron Simpson
On 00:41 07 Mar 2002, Vidiot <[EMAIL PROTECTED]> wrote: | >This is actually false. For the envelope ("From ") it's true, but for | >the mail headers (the envelope's not part of the headers) the header name | >is case insensitive. Have a look at RFC2822 - an enlightening document. | >Cameron Simpso

Re: SED Question

2002-03-06 Thread Vidiot
>This is actually false. For the envelope ("From ") it's true, but for >the mail headers (the envelope's not part of the headers) the header name >is case insensitive. Have a look at RFC2822 - an enlightening document. >Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs

Re: SED Question

2002-03-06 Thread Cameron Simpson
On 21:55 06 Mar 2002, Vidiot <[EMAIL PROTECTED]> wrote: | >On 20:26 06 Mar 2002, Vidiot <[EMAIL PROTECTED]> wrote: | >| >Hey everyone, I am trying to make a "FROM" script that basically shows = | >| >the person running the script who the mail is from that they have. | >| | >| How about: | >|se

Re: SED Question

2002-03-06 Thread John H Darrah
On Wed, 6 Mar 2002, Jake McHenry wrote: > Hey everyone, I am trying to make a "FROM" script that > basically shows the person running the script who the mail > is from that they have. Not very complex, but I can't seem > to get it exactly how I want it. Currently, it works fine, > but it shows to

Re: SED Question

2002-03-06 Thread Vidiot
>On 20:26 06 Mar 2002, Vidiot <[EMAIL PROTECTED]> wrote: >| >Hey everyone, I am trying to make a "FROM" script that basically shows = >| >the person running the script who the mail is from that they have. >| >| How about: >| >| sed -e '/^From /b' -e d >| >| The only legal from at the beginn

Re: SED Question

2002-03-06 Thread Cameron Simpson
On 20:26 06 Mar 2002, Vidiot <[EMAIL PROTECTED]> wrote: | >Hey everyone, I am trying to make a "FROM" script that basically shows = | >the person running the script who the mail is from that they have. | | How about: | | sed -e '/^From /b' -e d | | The only legal from at the beginning is "

SOLVED: Re: SED Question

2002-03-06 Thread Jake McHenry
Awesome, Thanks!! Jake - Original Message - From: "Vidiot" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 06, 2002 9:26 PM Subject: Re: SED Question > > > >This is a multi-part message in MIME format. > > > >--=_

Re: SED Question

2002-03-06 Thread Vidiot
> >This is a multi-part message in MIME format. > >--=_NextPart_000_0005_01C1C552.B5297DF0 >Content-Type: text/plain; > charset="iso-8859-1" >Content-Transfer-Encoding: quoted-printable > >Hey everyone, I am trying to make a "FROM" script that basically shows = >the person running the sc

SED Question

2002-03-06 Thread Jake McHenry
Hey everyone, I am trying to make a "FROM" script that basically shows the person running the script who the mail is from that they have. Not very complex, but I can't seem to get it exactly how I want it. Currently, it works fine, but it shows too much info. This is what I have...     cat /