Emacs для начинающих



         

Manual-e - часть 2


-aext extension - alternative (DOS) -kext extension - KOI-8 (UNIX) -lext extension - latinica -mext extension - Macintosh -wext extension - Windows

  When converting to only one encoding you can use command

-ext extension

  Depending on encoding to which you convert it is interpreted as one of command '-aext extension', '-kext extension', '-lext extension', '-mext extension' or '-wext extension'.

  Flag '-o' is used for overwriting. Instead of creating new files rusconv changes content of existing files.

  Rusconv also can convert from DOS/windows text file format to UNIX one and back. In DOS and windows end of line is coded by two chars, in UNIX - by one char. For converting from one format to another use flags

-cr2crlf - from UNIX text file format to DOS/windows one -crlf2cr - from DOS/windows text file format to UNIX one

  DOS and windows versions are verbose by default. UNIX version prints only warnings and error messages. To redefine default mode use flags

'-s' - silent work, no any message will be printed '-v' - verbose work, all messages will be printed

  Windows operating system runs rusconv in separate window which should be closed after program finished. To avoid this and to let user to see report rusconv after all files converted waits for key pressed. Behavior can be changed by flags

'-close' - to finish after all files converted '-noclose' - do not close window with report, by default

  Flags '-close' and '-noclose' are used only in windows version. DOS and UNIX versions ignore them.

  Symbols '--' stands for 'end of flag'. All after this symbols is a file list.

3. rusconv [options] -(cr2crlf|crlf2cr) [--] <file_list> [output_dir]

  In this case rusconv converts only type of lines and doesn't convert from one encoding to another. In DOS and windows end of line coded by two chars, in UNIX - by one char.

-cr2crlf - from UNIX text file format to DOS/windows one -crlf2cr - from DOS/windows text file format to UNIX one




Содержание  Назад  Вперед