ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: pioneer@bigmir.net
To: community@altlinux.ru
Subject: [Comm] три вопроса по bash
Date: Fri, 9 Apr 2004 09:56:33 +0300
Message-ID: <19667455325.20040409095633@dfp.gov.ua> (raw)


У меня возникли вопросы - моих скудных знаний не хватает. Не поможете
ли, народ?

Вопрос 1.
Имеется файл-список с неким перечнем файлов, по одному в каждой строчке.
Хочется над каждым из этих файлов провести операцию - выполнить
некую программу:
someprogram /path/to/file

Вопрос 2.
Весь вывод предыдущей операции (как stdout, так и stderr) вывести как
на экран, так и в какой-нибудь лог-файл.

Вопрос 3.
Вопрос 3 есть усложнение задачи вопроса 1. С целью повышения удобства
хочется отфильтровать из вышеупомянутого файла-списка строчки,
начинающиеся на символ комментария #.

Спасибо народу заранее.



-- 
Sergiy A. Puziy
IT Division
The State Commission on Regulation of
Financial Services Markets of Ukraine



             reply	other threads:[~2004-04-09  6:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-09  6:56 pioneer [this message]
2004-04-09  7:28 ` [Comm] Q: To bash or not to bash (was: три вопроса по bash) Alexey Morozov
2004-04-09  8:26   ` Alexander Leschinsky
2004-04-09  9:15     ` Alexey Morozov
2004-04-09  9:02   ` Alexey I. Froloff
2004-04-09  9:09     ` Alexey Morozov
2004-04-09  7:33 ` [Comm] три вопроса по bash Artem K. Jouravsky
2004-04-09  8:22   ` Re[2]: " Alexander Leschinsky
2004-04-09  7:38 ` Maxim Tyurin
2004-04-09 10:10   ` [pioneer]
2004-04-09 10:18     ` Alexey Morozov

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=19667455325.20040409095633@dfp.gov.ua \
    --to=pioneer@bigmir.net \
    --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