summaryrefslogtreecommitdiff
path: root/m4/unistd-safer.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-06-01 12:43:41 +0000
committerJim Meyering <jim@meyering.net>2004-06-01 12:43:41 +0000
commit97a6ce40ed4a34c9fb5eba5b50572f81bb839930 (patch)
tree7ddaea1f4c1e717f51d3c6a079f542ec55e440ac /m4/unistd-safer.m4
parenta805d1df2944399783c3ee504732e6bfa82bb393 (diff)
downloadcoreutils-97a6ce40ed4a34c9fb5eba5b50572f81bb839930.tar.xz
(V9_ECHO): Remove; always enabled.
(DEFAULT_ECHO_TO_XPG): Renamed from V9_DEFAULT, so that we use the same naming convention as bash. Now an enum, not a macro. (usage): Reword to mention -e/-E more accurately. Mention \0NNN (the POSIX syntax) rather than \NNN (nonstandard). (hextobin): New function. (main): Use bool rather than int for local vars when appropriate. Do not allow options if POSIXLY_CORRECT, unless we are using BSD semantics and the first argument is "-n". Don't pass unnecessary extra arg to parse_long_options. do_v9 now defaults to DEFAULT_ECHO_TO_XPG, not to allow_options. Do not look for options if !allow_options. Use size_t rather than int when appropriate. Open-code option test rather than using strrchr. Use faster test for "-". Avoid redundant argc test. Add support for \x, for Bash compatibility. Use e.g. '\a' rather than '\007', for portability to EBCDIC hosts. When '\c' is encountered, stop printing immediately, as POSIX requires. Add support for \xhh syntax. Add support for \0ooo syntax; POSIX requires this.
Diffstat (limited to 'm4/unistd-safer.m4')
0 files changed, 0 insertions, 0 deletions