replace: Replace specified string in file(s).
Copyright (C) 1999-2000 NAKAMURA, Hiroshi.



- ܥץȤŪ

  ꤷǥ쥯ȥ(ե)ˤƥȥեΡ
  ꤷʸִʺˤ륳ޥɤǤ

  : °COPYINGեˤ񤫤Ƥޤ
    Ԥϡɬפʥե뤬äƤޤäΡ
    ܥץˤ뤤ʤȥ֥ˤĤƤ⡤դȤޤ



- ưĶ

  ʲδĶǤưǧƤޤ

    - UNIX
	Perl5ɬפǤ



- 󥹥ȡ

  1. replace_1_0_0.tar.gzäƤ롥

  2. gzip + tarǸǤƤΤǡह롥
     gzip -dc replace_1_0_0.tar.gz | tar xvfp -
     replace_1.0.0Ȥǥ쥯ȥ˥ե뤬Ÿޤ

  3. ޥɥѥPerlperlפȤ̾¸ߤ뤳Ȥǧ롥
     which perlȤƥѥɽOK

  4. replace~/binޥɥѥ˥ԡƤ



- ޥɤλȤ

  Usage: replace src dest [Options]..

  src .... ִоݤʸǤ
  dest ... srcǻꤷʸ󤬡ʸִޤ
           srcǻꤷʸ硤destˤ""ꤷƤ

  ץ:
    -h .......... إפɽޤ
    -i .......... ʸʸΰ㤤̵뤷ޤ
    -d dir. ..... ִե򸡺ǥ쥯ȥꤷޤ
                  άȥȥǥ쥯ȥ򸡺ޤ
    -r .......... ƵŪ˥ǥ쥯ȥ⤰äƤäƥե򸡺ޤ
    -p pattern .. ִоݥեɽǻꤷޤ
                  㤨-p '\.html$'-p '^index\.html$|^99*'ʤɡ
                  Ԥϡ.htmlǽեפΤߤ
                  Ԥϡindex.htmlȤե⤷99ǻϤޤե
                  Τߤ򡤤줾ִоݤȤޤ
    -n .......... ִ˥Хååץեޤ
                  replaceޥɤϡǥեȤǤϥХååץե
                  ޤ-nbץꤹȡ
                  Хååץե뤬ޤǤ͡(^_^;
    -x postfix .. ХååץեΥݥȥեǤ
                  ǥեȤǤϡrp_bakפǡִˤϡ
                  ֡.rp_bakפȤХååץե뤬ޤ
    -R .......... srcǻꤷʸperlɽȤƲᤷޤ
                  -Rץꤷ㤨srcȤ'#.*$'ꤹȡ
                  #ʹ߹ޤǤִоݤȤʤޤ
                  -RץꤷʤСñ'#.*$'Ȥʸ
                  ִоݤǤ



- ѥå

  README.txt
	Υե롥

  COPYRIGHT
	GNU GENERAL PUBLIC LICENSE Version 2, June 1991

  replace
	replaceޥɤǤPerl scriptǤ



- 

  ̾:		NAKAMURA, Hiroshi
  E-Mail:	nakahiro@sarion.co.jp
  URL:		http://www.jin.gr.jp/~nahi/



- 

  ܥѥåΥ1.0.0Ǥ
  Ԥˤץϡ
  ֤ڡ롤ꢢ<URL:http://www.jin.gr.jp/~nahi/src/>
  ˤۤƤޤ
  RubyǤ
  ֤Ӥ𡤤ꢢ<URL:http://www.jin.gr.jp/~nahi/Ruby/>
  ˤޤ


- Ϣ

	This program is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License, or any
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PRATICULAR PURPOSE. See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program; if not, write to the Free Software
	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
