Global modifications

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
shell-error: Rename info() to message()

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
Workaround quoting for ash

Unlike bash, ash requires additional character class quoting
in pattern substitution, e.g. to match '\' character in $foo,
${foo#[\\]} needs to be written as ${foo#[\\\\]}.

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
Do not display messages about non existent directory from readlink

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
shell-config:New functions to read/write shell-like config files

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
shell-config: Do not overwrite default delimiter

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
shell-regexp: Add unquote_shell and string_quote_remove

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
Move string_quote_remove to experimental space

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
shell-regexp: Add new function: unquote_sed_regexp

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
Little optimization

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
0.0.1-alt4

- Add shell-version to trac API changes.
- Add shell-getopt. This is getopts(1) shell implementation.
- 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().

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
Fix english grammar

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
shell-getopt: Add examples

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
Remove useless functions

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
shell-config: Optimize file checks

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
shell-config: Comments handling

The shell_config_set() will try to uncomment target parameter.
Global variable '__shell_config_comment' define a comment symbol.
This feature will turned off if '__shell_config_comment' is unset
or empty.

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
shell-getopt: getsubopt(3) implementation

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
shell-args (opt_check_read, opt_check_dir): Describe functions

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
shell-args (opt_check_number): Replace with implementation from hsh-sh-functions

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
shell-error (fatal): Use message()

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>