replace



REPLACE(1)                   MySQL Database System                  REPLACE(1)




NAME

       replace - a string-replacement utility


SYNOPSIS

       replace arguments


DESCRIPTION

       The replace utility program changes strings in place in files or on the
       standard input. It uses a finite state machine to match longer strings
       first. It can be used to swap strings. For example, the following
       command swaps a and b in the given files, file1 and file2:

       shell> replace a b b a -- file1 file2 ...

       Use the -- option to indicate where the string-replacement list ends
       and the filenames begin.

       Any file named on the command line is modified in place, so you may
       want to make a copy of the original before converting it.

       If no files are named on the command line, replace reads the standard
       input and writes to the standard output. In this case, no -- option is
       needed.

       The replace program is used by msql2mysql. See msql2mysql(1).

       replace supports the following options:

       ·  -?, -I

          Display a help message and exit.

       ·  -# debug_options

          Write a debugging log. The debug_options string often is
          ´d:t:o,file_name’.

       ·  -s

          Silent mode. Print out less information what the program does.

       ·  -v

          Verbose mode. Print out more information what the program does.

       ·  -V

          Display version information and exit.


SEE ALSO

       isamchk(1), isamlog(1), msql2mysql(1), myisamchk(1), myisamlog(1),
       myisampack(1), mysql(1), mysql.server(1), mysql_config(1),
       mysql_fix_privilege_tables(1), mysql_zap(1), mysqlaccess(1),
       mysqladmin(1), mysqlbinlog(1), mysqlcheck(1), mysqld(1),
       mysqld_multi(1), mysqld_safe(1), mysqldump(1), mysqlhotcopy(1),
       mysqlimport(1), mysqlshow(1), pack_isam(1), perror(1), safe_mysqld(1)

       For more information, please refer to the MySQL Reference Manual, which
       may already be installed locally and which is also available online at
       http://dev.mysql.com/doc/.


AUTHOR

       MySQL AB (http://www.mysql.com/).  This software comes with no
       warranty.



MySQL 4.1                         11/30/2005                        REPLACE(1)

Man(1) output converted with man2html