]> git.ipfire.org Git - thirdparty/util-linux.git/commit
cal: stop trimming whitespaces
authorSami Kerola <kerolasa@iki.fi>
Sun, 28 Apr 2013 14:35:26 +0000 (15:35 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sun, 26 May 2013 08:59:19 +0000 (09:59 +0100)
commit224687082e6c519c8f24b471ca51c7679a75dc00
treeef2b0b155127c24e11a227be95ca20dc2e925e15
parentf35ece141e1cade1b5029047fa0e9200301fa099
cal: stop trimming whitespaces

Remove trailing spaces from output it is trivial

cal | sed 's/ *$//'

but padding them back is difficult.

CC: Pádraig Brady <P@draigbrady.com>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/cal.c
tests/expected/cal/1m
tests/expected/cal/3m
tests/expected/cal/color
tests/expected/cal/sep1752
tests/expected/cal/year