From 991c83ab343917b904ed7fd47a39e8517e15dcd1 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 14 Nov 2003 17:30:07 +0000 Subject: 19105 shout if interactive without terminal. 19167: BRACE_CCL range with NULL at start. 19168: Sizes using ztrftime were inconsistent. Ports from main line. --- Test/E01options.ztst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Test') diff --git a/Test/E01options.ztst b/Test/E01options.ztst index 99f9f6fae..7b520078e 100644 --- a/Test/E01options.ztst +++ b/Test/E01options.ztst @@ -154,6 +154,19 @@ >a b c d >{abcd} +# Don't use NUL as a field separator in the following. + setopt braceccl + print {$'\0'-$'\5'} | IFS=' ' read -A chars + for c in $chars; do print $(( #c )); done + unsetopt braceccl +0:BRACE_CCL option starting from NUL +>0 +>1 +>2 +>3 +>4 +>5 + setopt bsdecho echo "histon\nimpington" echo -e "girton\ncottenham" -- cgit 1.4.1