From: sinaps <sin.a@freeline.ru>
To: Saratov Linux User Group Maillist <sarlug@lug.ru>
Subject: Re: [Sarlug] serach & replace
Date: Fri, 15 Aug 2003 10:52:19 -0000
Message-ID: <200308151452.10835.sin.a@freeline.ru> (raw)
Message-ID: <20030815105219.ew2aT1ZiMGjOT2wLgpQTh_VGUIr4tkE0Wy2xirC2exA@z> (raw)
In-Reply-To: <20030815101035.GA80785@rock.eastsoft.int>
Пятница 15 Август 2003 14:10, Nickolay Parfenov написал:
NP > В таких случаях вместо газет лучше читать классику типа Керниган, Пайк
NP > "UNIX - универсальная среда программирования" (а лучше учить наизусть ;)
Дык, тупые юзверы мы... :) (разве только - как мантру:)
NP > из командной строки:
NP > for f in *.html;do \
NP > sed 's/выр1/выр2/g'<$f >$f.new && mv $f $f.bak && mv $f.new $f;done
NP >
NP > Для рекурсивной замены вместо for используй find с параметром -exec.
NP >
Sed'ом я даже как-то раз, однажды пользовался, но что-бы ТАК... !!! :)))
(рекурсию в этом примере - не пробовал)
PS: В следующие выходные будет готов диск "Аквариум том-1 1973-1982" :)
PPS: ogg хорош еще и тем, что пишет теги в уникоде, и читаться они будут
везде.
--
Best regards, http://saratov.lug.ru
sinaps mailto:sin.a@freeline.ru
sinaps слушает: Аквариум - Укравший Дождь
next prev parent reply other threads:[~2003-08-15 10:52 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-15 9:26 sinaps
2003-08-15 9:26 ` sinaps
2003-08-15 9:58 ` Roman Bogorodskiy
2003-08-15 9:59 ` Roman Bogorodskiy
2003-08-15 10:11 ` Re[2]: " "Genix"
2003-08-15 10:11 ` "Genix"
2003-08-15 10:19 ` Roman Bogorodskiy
2003-08-15 10:20 ` Roman Bogorodskiy
2003-08-15 13:34 ` Roman Bogorodskiy
2003-08-15 13:34 ` Roman Bogorodskiy
2003-08-15 10:10 ` Nickolay Parfenov
2003-08-15 10:21 ` Nickolay Parfenov
2003-08-15 10:52 ` sinaps [this message]
2003-08-15 10:52 ` sinaps
2003-08-15 10:13 ` "Genix"
2003-08-15 10:09 ` "Genix"
2003-08-15 19:31 ` Paul P Komkoff Jr
2003-08-15 19:31 ` Paul P Komkoff Jr
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=200308151452.10835.sin.a@freeline.ru \
--to=sin.a@freeline.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