Article View: pl.comp.lang.perl
Article #51906Re: Jak wyciagnac linie z pliku?
From: lrem
Date: Sat, 22 May 2010 09:09
Date: Sat, 22 May 2010 09:09
11 lines
1710 bytes
1710 bytes
W poście <ht721o$hf2$1@news.onet.pl>,
Maciej Misiak nabazgrał:
> Ale ten i pozostałe to takie sztuczne jednolinijkowce chyba, co? Jak
> jest średnik w kodzie (oczywiście jako element składni, a nie np.
> regexpa, to tak naprawdę jest już dwulinijkowiec. Chociaż 'while(cos) {
> do cos }' to są przynajmniej dwie linie kodu. Jaka jest definicja
> właściwie jednolinijkowca? :> (ja bym powiedział, że to kod bez
> średników oddzielających komendy)
No jak bez średników, to trudno. Ale ze średnikami to mój kod jest krótszy
od Twojego regexpa ;)
Technical Details
Message-ID:
<slrnhvf8ei.ppu.lrem@localhost.localdomain>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!news2.ipartners.pl!not-for-mailReferences:
<slrnhv9krv.q2.tomjas@krusty.localdomain> <ht2lp9$uan$1@solani.org> <slrnhv9nc7.6re.tomjas@krusty.localdomain> <ht2mkt$uan$2@solani.org> <slrnhv9pgv.7eh.tomjas@krusty.localdomain> <ht2slh$djl$1@solani.org> <slrnhva99s.hu6.tomjas@krusty.localdomain> <slrnhva9ub.5je.fenio@serwer.fenski.pl> <slrnhvabsv.bur.lrem@localhost.localdomain> <ht721o$hf2$1@news.onet.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!news2.ipartners.pl!not-for-mail From: lrem@localhost.localdomain Newsgroups: pl.comp.lang.perl Subject: Re: Jak wyciagnac linie z pliku? Date: 22 May 2010 09:09:35 GMT Organization: GTS Energis Lines: 11 Message-ID: <slrnhvf8ei.ppu.lrem@localhost.localdomain> References: <slrnhv9krv.q2.tomjas@krusty.localdomain> <ht2lp9$uan$1@solani.org> <slrnhv9nc7.6re.tomjas@krusty.localdomain> <ht2mkt$uan$2@solani.org> <slrnhv9pgv.7eh.tomjas@krusty.localdomain> <ht2slh$djl$1@solani.org> <slrnhva99s.hu6.tomjas@krusty.localdomain> <slrnhva9ub.5je.fenio@serwer.fenski.pl> <slrnhvabsv.bur.lrem@localhost.localdomain> <ht721o$hf2$1@news.onet.pl> NNTP-Posting-Host: 78.133.248.254 Mime-Version: 1.0 X-Trace: news2.ipartners.pl 1274519375 488 78.133.248.254 (22 May 2010 09:09:35 GMT) X-Complaints-To: abuse@ipartners.pl NNTP-Posting-Date: 22 May 2010 09:09:35 GMT X-Homesite: http://lrem.net/ X-Posting-License: http://ppl.7thguard.net/PPL User-Agent: slrn/0.9.8.1pl1 (Linux) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit