diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | localedata/ChangeLog | 4 | ||||
-rw-r--r-- | localedata/locales/id_ID | 94 | ||||
-rw-r--r-- | posix/wordexp-test.c | 31 |
4 files changed, 123 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog index 5104ed79bb..9ce6df9547 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk> + + * posix/wordexp-test.c: In field-splitting test cases where + subshells were involved, unset IFS first: some shells (ash) use + IFS even when no expansion is performed. + 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * libio/obprintf.c (_IO_obstack_overflow): Put the write end at diff --git a/localedata/ChangeLog b/localedata/ChangeLog index ff703220bd..cdc045d587 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,7 @@ +1999-04-12 Ulrich Drepper <drepper@cygnus.com> + + * locales/id_ID: New file. + 1999-04-10 Ulrich Drepper <drepper@cygnus.com> * charmaps/TIS-620: New file. diff --git a/localedata/locales/id_ID b/localedata/locales/id_ID new file mode 100644 index 0000000000..d60a673035 --- /dev/null +++ b/localedata/locales/id_ID @@ -0,0 +1,94 @@ +escape_char / +comment_char % + +% Indonesian language locale for Indonesia +% Source: +% Address: +% Contact: Pablo Saratxaga, Mohammad DAMT +% Email: srtxg@chanae.alphanet.ch, mdamt@cakraweb.com +% Tel: +% Fax: +% Language: id +% Territory: ID +% Revision: 0.3 +% Date: 1999-04-10 +% Application: general +% Users: general +% Repertoiremap: +% Charset: ISO-8859-1 +% Distribution and use is free, also +% for commercial purposes. + +LC_CTYPE +copy "en_DK" +END LC_CTYPE + +LC_COLLATE +copy "en_DK" +END LC_COLLATE + +LC_MONETARY +int_curr_symbol "<I><D><R><SP>" +currency_symbol "<R><p>" +mon_decimal_point "<,>" +mon_thousands_sep "<.>" +mon_grouping 3;3 +positive_sign "" +negative_sign "<->" +int_frac_digits 2 +frac_digits 2 +p_cs_precedes 1 +p_sep_by_space 0 +n_cs_precedes 1 +n_sep_by_space 0 +p_sign_posn 1 +n_sign_posn 1 +END LC_MONETARY + +LC_NUMERIC +decimal_point "<,>" +thousands_sep "<.>" +grouping 3;3 +END LC_NUMERIC + +LC_TIME +abday "<M><i><n>";"<S><e><n>";/ + "<S><e><l>";"<R><a><b>";/ + "<K><a><m>";"<J><u><m>";/ + "<S><a><b>" +day "<M><i><n><g><g><u>";/ + "<S><e><n><i><n>";/ + "<S><e><l><a><s><a>";/ + "<R><a><b><u>";/ + "<K><a><m><i><s>";/ + "<J><u><m><a><t>";/ + "<S><a><b><t><u>" +abmon "<J><a><n>";"<P><e><b>";/ + "<M><a><r>";"<A><p><r>";/ + "<M><e><i>";"<J><u><n>";/ + "<J><u><l>";"<A><g><u>";/ + "<S><e><p>";"<O><k><t>";/ + "<N><o><v>";"<D><e><s>" +mon "<J><a><n><u><a><r><i>";/ + "<P><e><b><r><u><a><r><i>";/ + "<M><a><r><e><t>";/ + "<A><p><r><i><l>";/ + "<M><e><i>";/ + "<J><u><n><i>";/ + "<J><u><l><i>";/ + "<A><g><u><s><t><u><s>";/ + "<S><e><p><t><e><m><b><e><r>";/ + "<O><k><t><o><b><e><r>";/ + "<N><o><p><e><m><b><e><r>";/ + "<D><e><s><e><m><b><e><r>" +d_t_fmt "<%><a><SP><%><d><SP><%><b><SP><%><Y><SP><%><r><SP><%><Z>" +d_fmt "<%><d><//><%><m><//><%><y>" +t_fmt "<%><T>" +am_pm "";"" +t_fmt_ampm "" +END LC_TIME + +LC_MESSAGES +yesexpr "<<(><y><Y><)/>><.><*>" +noexpr "<<(><t><T><n><N><)/>><.><*>" +END LC_MESSAGES diff --git a/posix/wordexp-test.c b/posix/wordexp-test.c index 21bca96681..8720389d4b 100644 --- a/posix/wordexp-test.c +++ b/posix/wordexp-test.c @@ -56,19 +56,26 @@ struct test_case_struct * but does NOT start a new field. */ { 0, ":abc:", "$var", 0, 2, { "", "abc", }, ":" }, - { 0, NULL, "$(echo :abc:)", 0, 2, { "", "abc", }, ":" }, - { 0, NULL, "$(echo :abc:\\ )", 0, 2, { "", "abc", }, ": " }, - { 0, NULL, "$(echo :abc\\ )", 0, 2, { "", "abc", }, ": " }, - { 0, ":abc:", "$(echo $var)", 0, 2, { "", "abc", }, ":" }, + { 0, NULL, "$(unset IFS;echo :abc:)", 0, 2, { "", "abc", }, ":" }, + { 0, NULL, "$(unset IFS;echo :abc:\\ )", 0, 2, { "", "abc", }, ": " }, + { 0, NULL, "$(unset IFS;echo :abc\\ )", 0, 2, { "", "abc", }, ": " }, + { 0, ":abc:", "$(unset IFS;echo $var)", 0, 2, { "", "abc", }, ":" }, { 0, NULL, ":abc:", 0, 1, { ":abc:", }, ":" }, - { 0, NULL, "$(echo :abc:)def", 0, 3, { "", "abc", "def", }, ":" }, - { 0, NULL, "$(echo abc:de)f", 0, 2, { "abc", "def", }, ":" }, - { 0, NULL, "$(echo abc:de)f:ghi", 0, 2, { "abc", "def:ghi", }, ":" }, - { 0, NULL, "abc:d$(echo ef:ghi)", 0, 2, { "abc:def", "ghi", }, ":" }, - { 0, "abc:", "$var$(echo def:ghi)", 0, 3, { "abc", "def", "ghi", }, ":" }, - { 0, "abc:d", "$var$(echo ef:ghi)", 0, 3, { "abc", "def", "ghi", }, ":" }, - { 0, "def:ghi", "$(echo abc:)$var", 0, 3, { "abc", "def", "ghi", }, ":" }, - { 0, "ef:ghi", "$(echo abc:d)$var", 0, 3, { "abc", "def", "ghi", }, ":" }, + { 0, NULL, "$(unset IFS;echo :abc:)def", 0, 3, { "", "abc", "def", }, + ":" }, + { 0, NULL, "$(unset IFS;echo abc:de)f", 0, 2, { "abc", "def", }, ":" }, + { 0, NULL, "$(unset IFS;echo abc:de)f:ghi", 0, 2, { "abc", "def:ghi", }, + ":" }, + { 0, NULL, "abc:d$(unset IFS;echo ef:ghi)", 0, 2, { "abc:def", "ghi", }, + ":" }, + { 0, "abc:", "$var$(unset IFS;echo def:ghi)", 0, 3, { "abc", "def", + "ghi", }, ":" }, + { 0, "abc:d", "$var$(unset IFS;echo ef:ghi)", 0, 3, { "abc", "def", + "ghi", }, ":" }, + { 0, "def:ghi", "$(unset IFS;echo abc:)$var", 0, 3, { "abc", "def", + "ghi", }, ":" }, + { 0, "ef:ghi", "$(unset IFS;echo abc:d)$var", 0, 3, { "abc", "def", + "ghi", }, ":" }, /* Simple parameter expansion */ { 0, "foo", "${var}", 0, 1, { "foo", }, IFS }, |