The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

replace (1)
  • >> replace (1) ( Linux man: Команды и прикладные программы пользовательского уровня )
  • replace (3) ( Solaris man: Библиотечные вызовы )
  •  

    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.

    Invoke replace in one of the following ways:

    shell> replace from to [from to] ... -- file [file] ...
    shell> replace from to [from to] ... < file
    

    from represents a string to look for and to represents its replacement. There can be one or more pairs of strings.

    Use the -- option to indicate where the string-replacement list ends and the filenames begin. In this case, 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. replace prints a message indicating which of the input files it actually modifies.

    If the -- option is not given, replace reads the standard input and writes to the standard output.

    replace 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 ...
    

    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 less information what the program does.

    *
    -v

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

    *
    -V

    Display version information and exit.

     

    SEE ALSO

    msql2mysql(1), myisam_ftdump(1), myisamchk(1), myisamlog(1), myisampack(1), mysql(1), mysql.server(1), mysql_config(1), mysql_fix_privilege_tables(1), mysql_upgrade(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), mysqlmanager(1), mysqlshow(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.


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    SEE ALSO
    AUTHOR


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру