[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: [bug] date: corner case
From: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn () axis ! com>
Date: 2008-04-27 12:13:01
Message-ID: 0804271406320.8300 () somehost
[Download RAW message or body]
Expected behaviour:
# ./busybox date +%c
Sun Apr 27 14:08:15 2008
# ./busybox date %+c
date: invalid date '%+c'
Also expected:
# ./busybox date -d 01231133 +%c
Wed Jan 23 11:33:00 2008
But this should return error status, as '+' and '%' are swapped:
# ./busybox date -d 01231133 %+c
Wed Jan 23 11:33:00 CET 2008
# echo $?
0
Cheers,
--
Cristian
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic