From 93e72ed1e9ef573e3bb9cd95d67233df46d33973 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 2 Jun 2015 09:17:04 +0100 Subject: 35353: print -x and print -X expand tabs --- Test/B03print.ztst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Test/B03print.ztst') diff --git a/Test/B03print.ztst b/Test/B03print.ztst index 48574c227..54d6350cf 100644 --- a/Test/B03print.ztst +++ b/Test/B03print.ztst @@ -284,3 +284,16 @@ >610062 >6100 >61 + + foo=$'one\ttwo\tthree\tfour\n' + foo+=$'\tone\ttwo\tthree\tfour\n' + foo+=$'\t\tone\t\ttwo\t\tthree\t\tfour' + print -x4 $foo + print -X4 $foo +0:Tab expansion by print +>one two three four +> one two three four +> one two three four +>one two three four +> one two three four +> one two three four -- cgit 1.4.1