🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #18184

Re: Problem mit grep-Umleitung in shellscript

#18184
From: Thomas Portmann
Date: Tue, 04 Apr 2000 00:00
20 lines
1248 bytes
joerg.hau@swissonline.ch (AKA "Joerg Hau ") said:

 > script (was das gleiche tun soll) geht das _nicht_; die Zeile mit "grep"
 > liefert keinen Output!

 > 	cat $i | grep -v ^# | grep "="

ich wuerde mal schaetzen dass das hash ("#") als beginn eines
kommentars interpretiert wird und demzufolge alles was noch
kommt ignoriert wird.
abhilfe: grep -v "^#"


	tom

-- 
Windows 95: n.
    32-bit extensions and a graphical shell for a 16-bit patch to an 8-bit
    operating system originally coded for a 4-bit microprocessor,  written
         by a 2-bit company that can't stand for 1 bit of competition.
Technical Details
Message-ID: <DVfG4.311$h21.388196@news>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <954795685.1431006335@localhost>

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII-7-bit
X-Google-Thread: f4b73,7955a30db16a222f
X-Google-Attributes: gidf4b73,public
From: portmann@elca.ch (Thomas Portmann)
Subject: Re: Problem mit grep-Umleitung in shellscript
Date: 2000/04/04
Message-ID: <DVfG4.311$h21.388196@news>
X-Deja-AN: 606429401
References: <954795685.1431006335@localhost>
X-Trace: news 954829539 193.72.145.201 (Tue, 04 Apr 2000 08:25:39 MET DST)
Organization: The 'trn' & John Doe Cie
Reply-To: thomas.portmann@gmx.net
NNTP-Posting-Date: Tue, 04 Apr 2000 08:25:39 MET DST
Newsgroups: ch.comp.os.linux
X-Newsposter: Pnews 4.0-test46 (31 Oct 96)