Saratov Linux User Group
 help / color / mirror / Atom feed
From: cORAX <corax@4c.ru>
To: Saratov Linux User Group Maillist <sarlug@lug.ru>
Subject: Re: [Sarlug] скрипт
Date: Thu, 20 Oct 2005 15:10:32 +0400
Message-ID: <200510201510.32380.corax@4c.ru> (raw)
In-Reply-To: <43576622.8000306@list.ru>

[-- Attachment #1: Type: text/plain, Size: 800 bytes --]

В сообщении от 20 Октябрь 2005 13:40 Genix написал(a):
> cORAX wrote:
> >>подскажите скрипт для преобразования текста разбитого символом ; в
> >>html таблицу.
> >>формат текста: "aaa; bbb;"
> >
> > Лови!
>
> ой, стареет Герман, стареет ;)))
>
> по моему чел хотел что-то типа этого

В таком случае твой пример не верне.. ибо если текст будет формата 
"zzz;xxx;zzz;xxx;zzz;xxx;zzz;xxx;zzz;xxx;zzz;xxx;zzz;xxx;zzz;xxx" 
то вы получит в результате
<tr><td>zzz</td><td>xxx</td><td>zzz</td><td>xxx</td>
<td>zzz</td><td>xxx</td><td>zzz</td><td>xxx</td>
<td>zzz</td><td>xxx</td><td>zzz</td><td>xxx</td>
<td>zzz</td><td>xxx</td><td>zzz</td><td>xx</td></tr>

одну строку с множеством стобцов... 
а если нужен результат с множеством строк и двумя столбцами.... 

вот скрипт... (от как и все, несовершенен ))))

[-- Attachment #2: script1.pl --]
[-- Type: application/x-perl, Size: 483 bytes --]

  parent reply	other threads:[~2005-10-20 11:10 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-19 14:11 rs
2005-10-19 18:24 ` Paul P Komkoff Jr
2005-10-20  6:55   ` Re[2]: " garifullin
2005-10-19 20:45     ` Quinn
2005-10-19 20:55       ` Re[2]: " allirahaz
2005-10-20  4:06         ` Re[3]: " rs
2005-10-20  4:56           ` Genix
2005-10-20  9:26             ` Eugene A. Suchkov
2005-10-20  9:59           ` Paul P Komkoff Jr
2005-10-20  7:21   ` Nickolay Parfenov
2005-10-20  7:07 ` Nickolay Parfenov
2005-10-20  9:11 ` cORAX
2005-10-20  9:40   ` Genix
2005-10-20 10:33     ` cORAX
2005-10-20 11:10     ` cORAX [this message]
2005-10-20 11:22       ` Genix
2005-10-20 11:25 ` slaytor_lcg
2005-10-20 12:07 ` slaytor_lcg
2005-10-20 12:30   ` Genix
2005-10-20 12:53     ` Re[2]: " Garifullin Mihail
2005-10-20 13:00       ` [Sarlug] [JT] результаты стрельб первого дня (скрипт) Genix
2005-10-20 16:02         ` Amodeus
2005-10-20 18:47           ` Daniil Bratashov
2005-10-21  9:12             ` Re[2]: " Garifullin Mihail
2005-10-21  9:55               ` Daniil Bratashov
2005-10-21 11:57                 ` Eugene A. Suchkov
2005-10-21 15:29                 ` Roman Bogorodskiy
2005-10-21 16:12                   ` [Sarlug] [JT] результаты стрельб первого дня ( скрипт) Alexey Sinitsin
2005-10-22  2:44                 ` [Sarlug] [JT] результаты стрельб первого дня (скрипт) inf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200510201510.32380.corax@4c.ru \
    --to=corax@4c.ru \
    --cc=sarlug@lug.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Saratov Linux User Group

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sarlug sarlug/ http://lore.altlinux.org/sarlug \
		sarlug@lists.lug.ru sarlug@lug.ru
	public-inbox-index sarlug

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sarlug


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git