ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Yura Zotov <yznews@hotbox.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Постоянное слежение за изменением файла
Date: Wed, 29 Jan 2003 19:20:28 +0300
Message-ID: <20030129162028.GA3771@home-pool4-83.com2com.ru> (raw)
In-Reply-To: <3E37F91E.8080505@yauza.ru>

On Wed, Jan 29, 2003 at 06:54:06PM +0300, Pavel S. Khmelinsky wrote:
> Yura Zotov wrote:
> 
> >Подскажите, пожалуйста, есть ли программа, которая бы постоянно
> >следила за изменением файла в выполняла указанный скрипт, если
> >файл поменялся?
> >
> >Или это можно как-то стандартным набором утилит сделать?
> >
> >cron и т.п. не подходят.
> >
> >Заранее спасибо за помощь.
> >
> так подходит?
> 
> tail -f <ваш_файл> | <скрипт-парсер>

Не подходит.

Нужно организовать автоматическое выполнение скрипта сразу после
сохранения файла в xfig, так как для получения конечного
результата и его просмотра требуется выполнение нескольких команд.
tail -f тут не работает.

Сейчас это сделано патчем самого xfig-а, но мне это сильно не
нравится, так как приходится держать xfig собственной сборки.

--
Юрий А. Зотов


  reply	other threads:[~2003-01-29 16:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-29 14:16 Yura Zotov
2003-01-29 15:11 ` Dmitry V. Levin
2003-01-29 15:54 ` Pavel S. Khmelinsky
2003-01-29 16:20   ` Yura Zotov [this message]
2003-01-29 18:37     ` Michael Ivanov
2003-01-30  4:38       ` Yura Zotov
2003-01-30  7:28 ` vic ismakaev

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=20030129162028.GA3771@home-pool4-83.com2com.ru \
    --to=yznews@hotbox.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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