Article View: ch.comp.os.linux
Article #20604Re: inhalt von variablen teilen
From: -
Date: Thu, 16 Sep 1999 00:00
Date: Thu, 16 Sep 1999 00:00
17 lines
1264 bytes
1264 bytes
> Wie steht es mit Domains mit ".net" als toplevel Domain? Das ist > dann ein Buchstabe mehr als sonst... OUT=`echo "www.blblbl.com" | sed -e "s/.*\.//"` echo .$OUT Liefert in $OUT immer die Zeichen nach dem letzten Punkt im String. blbl.blblb.ch -> .ch blbl.blbl.blbl.com -> .com Erkl�rung: Ersetzte null oder mehrere Zeichen bis ein Punkt kommt durch "nichts". Bye! ______________________________________ Michael Mustun <mustunm@befree.ch> http://www.flagsoft.ch
Technical Details
Message-ID:
<37E13FD6.45899BC3@yahoo.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37E0D7D3.5ABA140F@moritzi.ch> <37E0D8DD.D4CC6BBD@helvetiapatria.ch> <37e0e0d9@core> <33599662BEA39356.nospam@folly.ch>Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII X-Google-Thread: f4b73,ba814cfaf86a68f6 X-Google-Attributes: gidf4b73,public From: - <*@yahoo.com> Subject: Re: inhalt von variablen teilen Date: 1999/09/16 Message-ID: <37E13FD6.45899BC3@yahoo.com> X-Deja-AN: 525975336 Content-Transfer-Encoding: 8bit References: <37E0D7D3.5ABA140F@moritzi.ch> <37E0D8DD.D4CC6BBD@helvetiapatria.ch> <37e0e0d9@core> <33599662BEA39356.nospam@folly.ch> To: Daniel Folly <nospam@folly.ch> X-Accept-Language: en Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sunrise.ch X-Trace: news1.sunrise.ch 937508595 4887 194.230.9.104 (16 Sep 1999 19:03:15 GMT) Organization: - Mime-Version: 1.0 NNTP-Posting-Date: 16 Sep 1999 19:03:15 GMT Newsgroups: ch.comp.os.linux