Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: bash ?
- To: tlug@example.com
- Subject: Re: tlug: bash ?
- From: Jim Schweizer <schweiz@example.com>
- Date: Thu, 27 Mar 1997 19:14:59 +0900 (JST)
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <199703270953.SAA10928@example.com>
- Organization: JPS Solutions
- Reply-To: tlug@example.com
- Sender: owner-tlug
-------------------------------------------------------- tlug note from Jim Schweizer <schweiz@example.com> -------------------------------------------------------- On 27-Mar-97 Jason Molenda wrote: >So you're trying to remove all lines until the first empty >line, right? sed is the command you need. Sed does all! :) > > cat foo | sed '1,/^$/d' This indeed does the job, and I would add: cat foo | sed '1,/^$/d' >foo2 to save the file for later reading/editing. I like Jim T's suggestion to pipe it to lpr and: >Even better if you can stick such a filter into your mailer's >save or print function. (Or maybe even make a special printer >entry with such a default filter?) I'll work on that one tonight after the kids go to bed. Thanks, Jim S. ---------------------------------------------- Sent by: Jim Schweizer <schweiz@example.com> On: 27-Mar-97 at: 19:15:01 JST http://www1.harenet.or.jp/~schweiz/ Computer programmers do it byte by byte ---------------------------------------------- ----------------------------------------------------------------- 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
- References:
- Re: tlug: bash ?
- From: Jason Molenda <crash@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: bash ?
- Next by Date: Re: tlug: bash ?
- Prev by thread: Re: tlug: bash ?
- Next by thread: Re: tlug: bash ?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links