From b2900a1342fb5bdff2420b9aff4d2f6c7e3d3ad6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 12 Apr 1999 23:45:52 +0000 Subject: [PATCH] Update. 1999-04-12 Tim Waugh * 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. --- ChangeLog | 6 +++ localedata/ChangeLog | 4 ++ localedata/locales/id_ID | 94 ++++++++++++++++++++++++++++++++++++++++ posix/wordexp-test.c | 31 ++++++++----- 4 files changed, 123 insertions(+), 12 deletions(-) create mode 100644 localedata/locales/id_ID diff --git a/ChangeLog b/ChangeLog index 5104ed79bb..9ce6df9547 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-04-12 Tim Waugh + + * 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 * 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 + + * locales/id_ID: New file. + 1999-04-10 Ulrich Drepper * 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 "" +currency_symbol "

" +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 "";"";/ + "";"";/ + "";"";/ + "" +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +abmon "";"

";/ + "";"

";/ + "";"";/ + "";"";/ + "

";"";/ + "";"" +mon "";/ + "

";/ + "";/ + "

";/ + "";/ + "";/ + "";/ + "";/ + "

";/ + "";/ + "

";/ + "" +d_t_fmt "<%><%><%><%><%><%>" +d_fmt "<%><%><%>" +t_fmt "<%>" +am_pm "";"" +t_fmt_ampm "" +END LC_TIME + +LC_MESSAGES +yesexpr "<<(><)/>><.><*>" +noexpr "<<(><)/>><.><*>" +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 },