Article View: ch.comp.os.linux
Article #18181Re: Problem mit grep-Umleitung in shellscript
From: Sven Kirmess
Date: Tue, 04 Apr 2000 00:00
Date: Tue, 04 Apr 2000 00:00
24 lines
1280 bytes
1280 bytes
Joerg Hau wrote:
> --- snip ---
> #! /bin/tcsh
> onintr cleanup
> set pfile = ("/etc/rc.config")
>
> echo "Configuration of "$HOSTNAME", as of "`date`"."
> echo " "
>
> foreach i ($pfile)
> echo " "
> echo "*** "$i " ***"
> echo " "
> echo $i
> cat $i | grep -v ^# | grep "="
bist du sicher, dass $i eine Datei ist? MοΏ½sste das nicht
echo $i | grep -v ^# | grep "="
heissen? Oder ich hab nicht verstanden, was du willst... tcsh ist nicht
gerade meine Lieblingsshell. :-)
Sven
Technical Details
Message-ID:
<38E9153E.1FE13063@gmx.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<954795685.1431006335@localhost>Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII X-Google-Thread: f4b73,7955a30db16a222f X-Google-Attributes: gidf4b73,public From: Sven Kirmess <Sven.Kirmess@gmx.net> Subject: Re: Problem mit grep-Umleitung in shellscript Date: 2000/04/04 Message-ID: <38E9153E.1FE13063@gmx.net> X-Deja-AN: 606374381 Content-Transfer-Encoding: 8bit References: <954795685.1431006335@localhost> X-Accept-Language: de-CH,de,de-AT,en Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@news.magnet.ch Y-Complaints-To: sven.kirmess@gmx.net X-Trace: news.magnet.ch 954817323 26268 213.189.128.208 (4 Apr 2000 03:02:03 GMT) Organization: Kirmess Mime-Version: 1.0 NNTP-Posting-Date: 4 Apr 2000 03:02:03 GMT Newsgroups: ch.comp.os.linux