Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]tlug: bash ?
- To: tlug@example.com
- Subject: tlug: bash ?
- From: Jim Schweizer <schweiz@example.com>
- Date: Thu, 27 Mar 1997 17:32:49 +0900 (JST)
- Content-Transfer-Encoding: 8bit
- Content-Type: text/plain; charset=us-ascii
- Organization: JPS Solutions
- Reply-To: tlug@example.com
- Sender: owner-tlug
-------------------------------------------------------- tlug note from Jim Schweizer <schweiz@example.com> -------------------------------------------------------- Hi all, Could one of you programmer types help me out on this one? I'm trying to write a bash script that strips the header from mail files before I print them (XFMail won't do this and often the header is longer than the message) using ed. I must admit that the ed man page gave me a headache;-( ed $1 << EOF 1,/^[]*$/d w q EOF When I try to use this ed counts the number of lines then exits with ? This is happening with bash 1.14.5(1) Thanks, Jim S. ---------------------------------------------- Sent by: Jim Schweizer <schweiz@example.com> On: 27-Mar-97 at: 17:32:49 JST http://www1.harenet.or.jp/~schweiz/ "Here's something to think about: How come you never see a headline like `Psychic Wins Lottery'?" -- Jay Leno ---------------------------------------------- ----------------------------------------------------------------- a word from the sponsor will appear below ----------------------------------------------------------------- The TLUG mailing list is proudly sponsored by TWICS - Japan's First Public-Access Internet System. Now offering 20,000 yen/year flat rate Internet access with no time charges. Full line of corporate Internet and intranet products are available. info@example.com Tel: 03-3351-5977 Fax: 03-3353-6096
- Follow-Ups:
- tlug: Re: bash ?
- From: Jim Tittsler <jwt@example.com>
- Re: tlug: bash ?
- From: Jason Molenda <crash@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: CDRom Writers
- Next by Date: tlug: Re: bash ?
- Prev by thread: Re: tlug: CDRom Writers
- Next by thread: tlug: Re: bash ?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links