Re: [PATCH 13/16] cal: stop trimming whitespaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 02, 2013 at 07:51:38PM +0100, Sami Kerola wrote:
> Remove trailing spaces from output it is trivial

and introduce a regression and ugly output, see "cal -3":

old version:

     April 2013             May 2013              June 2013     
Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6            1  2  3  4                     1
 7  8  9 10 11 12 13   5  6  7  8  9 10 11   2  3  4  5  6  7  8
14 15 16 17 18 19 20  12 13 14 15 16 17 18   9 10 11 12 13 14 15
21 22 23 24 25 26 27  19 20 21 22 23 24 25  16 17 18 19 20 21 22
28 29 30              26 27 28 29 30 31     23 24 25 26 27 28 29
                                            30                  

new version:

     April 2013             May 2013              June 2013     
Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6             1  2  3  4                      1 
 7  8  9 10 11 12 13    5  6  7  8  9 10 11    2  3  4  5  6  7  8 
14 15 16 17 18 19 20   12 13 14 15 16 17 18    9 10 11 12 13 14 15 
21 22 23 24 25 26 27   19 20 21 22 23 24 25   16 17 18 19 20 21 22 
28 29 30               26 27 28 29 30 31      23 24 25 26 27 28 29 
                                              30                   

btw, it's pretty obvious from
https://github.com/kerolasa/lelux-utiliteetit/commit/5b472fb7f4d8b855756a249633250e818a560a66

I guess we have regression test just to check for regressions.


 Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux