Репозитории ALT
S: | 0.4.11-alt1 |
5.1: | 0.1.1-alt1 |
4.1: | 0.0.6-alt0.M41.1 |
4.0: | 0.0.3-alt1 |
Группа :: Разработка/Прочее
Пакет: libshell
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
15 октября 2008 Vladislav Zavjalov <slazav at altlinux.org> 0.0.6-alt0.M41.1
- build for 4.1
- New utilities:
+ shell-ini-config: New functions to read/write
ini-like config files.
+ shell-signal: Add signal handling functions (experimental). - shell-getopt changes:
+ Add env variables desciption. - shell-unittest changes:
+ registerTests argument is optional.
+ assertTrue() and assertFalse() should always display message
if test failed.
+ Add new function to able register test functions automatically.
+ appendTests(): test function could be registered only once.
+ Add unittest_show_condition parameter.
+ runUnitTests should return 1 if some tests has failed. - shell-ip-address changes:
+ Add regular expression to IP address validation.
- build for 4.1
- Add shell-unittest for writing Unit tests.
- Add shell-ip-address to IP address validation;
- Add shell-mail-address to mail address validation;
- shell-getopt:
+ Handle first '-' in short options;
+ Fix POSIXLY_CORRECT mode.
- shell-getopt: getopt():
+ Add --alternative handle;
+ Allow empty arguments;
+ Improve getopt(1) compatibility;
+ Ignore first '-' in options. - shell-config:
+ Add shell_config_del() and shell_config_comment() functions.
- shell-getopt: Move getopt(), getsubopt(), getopts() and getoptex()
from experimental state. - shell-quote: Move string_quote_remove() from experimental state.
- shell-config: shell_config_set():
+ Fix value quoting. - shell-getopt: getopt():
+ Fix GETOPT_ALLOW_UNKNOWN=1;
+ Fix return codes;
+ Fix params handling.
- Add shell-version to trac API changes.
- Add shell-getopt. This is getopts(1), getopt(1) and getsubopt(3)
shell implementation (if __libshell_experimental is set). - Rename shell-regexp to shell-quote.
- shell-quote:
+ Add string_quote_remove() to remove ' or " symbols from start
and end of string (if __libshell_experimental is set).
+ Remove unquote_sed_regexp(), unquote_shell() functions.
- Add shell-config to read and write shell-like config files:
+ shell-config: shell_config_get() read value from config file;
+ shell-config: shell_config_set() change or write value
to config file; - shell-args:
+ opt_check_read(), opt_check_dir() Fix error message. - shell-regexp:
+ Add new functions: unquote_sed_regexp(), unquote_shell().
- Workaround quoting for ash.
- shell-error: Rename info() to message().
- Initial revision.