· Регистрация 
софт скрипты драйвера форумы блоги  
Пример: windows
Софт
Новости софта
Обзоры
Статьи
Авторам
Софт
Mac Linux PDA/Mobile
Linux Программирование Интернационализация

Страница программы cstrings 2.3.1

cstrings is a lightweight internationalization tool for C code.


  Описание программы   Комментарии (0)   Скриншоты (0)   Файлы (3)  
АвторEric S. Raymond
СайтПерейти
Обновление18.04.2005, 03:11
Названиеcstrings
Версияcstrings 2.3.1
ЯзыкиАнглийский
ЛицензияGPL (GNU GPL)
СтоимостьБесплатно
СистемыLinux
Размер?
Рейтинг
Голосов: 1

Скачать бесплатно cstrings
Закачек: 2
найти или купить на Allsoft.ru
софт в Allsoft.ru 




Описание программы cstrings
A lightweight internationalization tool for C code, for those who find gettext too bulky and intrusive. Extracts strings from a program and turns them into #defines in a pre-pended code section. Has good features for building up your message base incrementally.
This tool can be used to massage input C source so that literal strings in it are replaced by generated #define symbols, with the list of #defines prepended to the resulting source code. String literals on #include and #define lines and in comments are skipped.
If no filenames are given, standard input is filtered to standard output. If filenames are given (and appropriate write permissions are present), each file is replaced by its converted result (the replace is done with a link(2), so the program is signal-safe). To avoid heartbreak and death threats to the author, it is recommended that you not use this feature without looking at the filtered version first to ensure that it's what you really want.
The string argument of a -r option is interpreted as a comma-separated list of line numbers or line number ranges to which the string filtering is to be limited. A range of the form "-" is taken to signify all lines from line to EOF; a range of the form "-" signifies all lines from the start of file to line . Additionally, any range or number may be preceded by '!'; this causes filtering to be suppressed for the lines designated. If the first character of a range option is '!', filtering is assumed initially on for all lines, rather than off.
The -t option sets the template with which string labels are generated. The default is "G%05d". The template is sprintf'ed with a sequence number as argument.
The -m option takes a numeric argument, interpreted as a minimum length. All strings less than that size are ignored. Note that this minimum length defaults to 3, you must say -m 1 or -m 2 to see all short strings.
The -c option suppresses the normal action and instead causes a list of strings that would otherwise be #define-ized (each preceded by its line number) to be emitted to stdout. If -c is used with file arguments a report with sections headed by file names will be generated.
The -c option permits you to anticipate the effects of a substitution without having to look at the whole source file.
This tool is best used by doing repeated -c runs, adding to an -r argument until you have it down to filtering just the lines you want, and then dropping the -c to do the actual conversion. Then you can move the list of generated #defines to an appropriate spot with a text editor.
· Ключевые особенности и характеристики cstrings 2.3.1
Не определены
· Ограничения cstrings 2.3.1
· This program makes no effort to be intelligent about duplicate strings. Also, it doesn't handle quoted quotes within strings.
· Специальные требования cstrings 2.3.1
Специальные требования не определены
· История версий и изменений cstrings
Версия: 2.3.1
· Use mkstemp(3) rather than tempnam(3) for security's sake.
· Source RPMs no longer depend on --define myversion.
· Описание и дополнения от редакторов и пользователей сайта
Пока нет
Связанные статьи, обзоры и новости
Нет относящихся к программе статей и обзоров.


Другие программы от Eric S. Raymond

Fetchmail 6.3.8
fetchmail is a free, full-featured, robust, well-documented remote-mail retrieval utility.
18.02.2007, 20:35 | ? | GPL (GNU GPL) | 3


hexdump 1.6
hexdump is a hex dumper that can handle EBCDIC.
07.03.2005, 05:23 | ? | GPL (GNU GPL) | 5


Bogofilter 1.1.5
Bogofilter is a mail filter that classifies mail as spam or ham.
15.01.2007, 10:35 | ? | GPL (GNU GPL) | 0


Fetchmail 6.2.9 RC10
fetchmail is a free, full-featured, robust, well-documented remote-mail retrieval utility.
28.11.2005, 03:17 | ? | GPL (GNU GPL) | 14


minised 1.12
minised is a smaller, cheaper, faster SED implementation.
28.10.2006, 16:35 | ? | Freely Distributable | 0

     
Похожие программы

uim 1.4.1
uim is a multilingual input method library.
15.03.2007, 03:35 | ? | BSD License | 2


Gtk2Hs 0.9.11
Gtk2Hs are GTK+ bindings for Haskell.
25.02.2007, 09:35 | ? | GPL (GNU GPL) | 1


i18nHTML 0.3.0
i18nHTML is a collection of scripts that enable collaborative Web page translation.
07.01.2007, 06:35 | ? | GPL (GNU GPL) | 1


Genuts 0.10b
Genuts project is a consistent Java framework for game development.
07.11.2006, 10:05 | ? | Free for non-commercial use | 1


tk_msg 0.1
tk_msg project is a small application which helps a programmer create message catalogs for localizing Tcl/Tk programs.
12.10.2006, 04:00 | ? | GPL (GNU GPL) | 0

Разделы