ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dolgov OV <dov@media-link.info>
To: community@altlinux.ru
Subject: Re: [Comm] echo "две переменные"
Date: Thu, 16 Sep 2004 15:04:22 +0300
Message-ID: <20040916150422.1e56fc2b.dov@media-link.info> (raw)
In-Reply-To: <20040916111136.4d442216.dov@media-link.info>

On Thu, 16 Sep 2004 11:11:36 +0300
Dolgov OV <dov@media-link.info> wrote:
> Может есть другой способ? Надо получить текстовый файл со списком в
> алфавитном порядке: "Название из .html" - "номер этого .html"
> 
Все. Вроде сделал. Спасибо Maxim Bodynasky. Помог его рецепт с perl. Я
только поменял местами значения после print - получилось как раз то, что
хотел.

n=`perl -nwe 'print "$1 - $ARGV\n" if /^НАЗВАНИЕ - (.*)<br>/' $i.html |
целая пачка sed'ов`; echo $n

Вроде нормально отработал. Правда по непонятной причине два файла тупо
пропустил, типа не нашел необходимого содержимого. Я проверил grep'ом,
вроде все как у всех, ну да ладно.

-- 
С наилучшими,
Олег Долгов
<dov AT media-link DOT info>
Registered Linux user #315454


      parent reply	other threads:[~2004-09-16 12:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-15 12:53 Dolgov OV
2004-09-15 13:02 ` Dolgov OV
2004-09-15 14:53 ` Maxim Bodynasky
2004-09-15 15:04   ` Dolgov OV
2004-09-15 15:23     ` Maxim Bodynasky
2004-09-15 17:14       ` Alexandr Leutin
2004-09-16  6:56         ` Dolgov OV
2004-09-16  7:39           ` Alexandr Leutin
2004-09-16  8:11             ` Dolgov OV
2004-09-16 11:46               ` Alexandr Leutin
2004-09-16 12:14                 ` Dolgov OV
2004-09-16 11:47               ` Alexandr Leutin
2004-09-16 12:04               ` Dolgov OV [this message]

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=20040916150422.1e56fc2b.dov@media-link.info \
    --to=dov@media-link.info \
    --cc=community@altlinux.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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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