1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-20 02:42:29 +02:00
Commit Graph

32 Commits

Author SHA1 Message Date
Mikael Magnusson
ea3351c496 48202 + 48366: Fix handling of NUL bytes in zexpandtabs multibyte version 2021-04-01 09:50:52 +02:00
Mikael Magnusson
ea64d2fd4b 47302: Test for print -v fix 2020-10-25 23:05:28 +01:00
Oliver Kiddle
a93abe1170 42488: test cases for 42369 and address some issues in the code 2018-05-13 10:13:42 +02:00
Daniel Shahaf
6bdb2e1deb 40203: Resolve 'printf --' question from grandparent commit (thanks Chet). 2016-12-16 00:59:57 +00:00
Barton E. Schaefer
dc1f3aae60 40179: fix handling of "printf -" and "printf --"
unposted: regression test for 40179 / 37467
2016-12-14 11:01:09 -08:00
Oliver Kiddle
ee1222454e unposted: fix printf -v to an array without format string reuse 2016-11-23 11:52:12 +01:00
Oliver Kiddle
4b41e33cbc 39389: when printf -v is used with an array use separate elements each time the format is reused 2016-11-05 00:27:47 +01:00
Barton E. Schaefer
0f5e670cde "typeset -p" uses "export" commands or the "-g" option for parameters that are not local to the current scope 2016-10-24 07:14:39 -07:00
Jun T
ead199291f 37501 (+ revise test): correct byte counts when simulating memstream via temp file 2016-01-04 22:29:37 -08:00
Barton E. Schaefer
15b73ea99b 37467: add "print -v var" / "printf -v var" 2015-12-31 12:38:10 -08:00
Oliver Kiddle
ac26fafa03 35412: fix for - flag when formating strings with printf 2015-06-07 23:07:26 +02:00
Peter Stephenson
93e72ed1e9 35353: print -x and print -X expand tabs 2015-06-02 09:17:04 +01:00
Bart Schaefer
87d6527628 28578: fix handling of numeric escapes that expand to "%" in printf
format strings, so they are not treated as format introducers.
2011-01-06 16:49:25 +00:00
Peter Stephenson
e375d5ee88 23119: lower case in sorting properly 2007-01-22 14:35:12 +00:00
Peter Stephenson
553e011320 23118: improve sorting to make it work with locales 2007-01-21 22:47:36 +00:00
Peter Stephenson
cfbcd2dbe0 23086: printf should handle octal escapes in the \0NNN form 2007-01-04 15:41:21 +00:00
Andrey Borzenkov
daed9601f7 revert 22758 and add LC_NUMERIC and LC_MESSAGES
to test harness instead
2006-09-23 06:55:29 +00:00
Andrey Borzenkov
4e576c069c 22758: fix tests by setting locale to C 2006-09-22 19:34:05 +00:00
Wayne Davison
bcf2770d44 Test both %b and %s in the empty-arg test. 2005-08-09 00:32:58 +00:00
Wayne Davison
bd3ea046ee Improved the %d and %g tests. 2005-08-04 20:15:40 +00:00
Wayne Davison
b558aa3487 Three more tests based on recent fixes. 2005-08-01 21:51:43 +00:00
Wayne Davison
730b7d8c2f - Improved how we check the no-newline test cases.
- Added a test case for "echo -n".
2005-08-01 21:33:49 +00:00
Wayne Davison
71c4ea95c6 Added tests for \c escape handling. 2005-07-26 00:28:14 +00:00
Oliver Kiddle
7ba32bbc26 add test for 21352 2005-06-17 08:38:51 +00:00
Oliver Kiddle
3ee4759f28 19549: correct buffer size for printf spec 2004-03-07 13:29:49 +00:00
Oliver Kiddle
a5f7097d9a 18472: spelling corrections 2003-04-25 11:18:50 +00:00
Oliver Kiddle
244f2a14fc 18391: add tests for read builtin a few glob qualifiers, 17678 and 18015 2003-03-26 17:33:04 +00:00
Peter Stephenson
b32d6325a5 17582: Change Test for different error message 2002-08-27 21:11:44 +00:00
Oliver Kiddle
c1441714b5 zero %n value when reusing printf format (16122) 2001-10-23 11:22:33 +00:00
Oliver Kiddle
62829b856d allow arguments to be specified in printf format specifications (16080) 2001-10-18 14:22:21 +00:00
Oliver Kiddle
4aaa5b3257 fix return code and tests of printf and comment above bslashquote func (16064) 2001-10-16 11:16:04 +00:00
Oliver Kiddle
648d1c2756 add print -f option, %n format specifier and tests for print/printf (15973) 2001-10-08 10:47:46 +00:00