Hi all,

I have used script to pach a group of files. The relevant command in the
script has been

tar -jcvf api-`date '+%Y%m%d%k%M'`.tbz files

After I updated cygwin today (bash updated) this no longer works as such,
because the behaviour of %k has changed: instead of the usual "07" I now
get " 7". Is this intentional? At least in my opinion the new behaviour is
worse than the original.

(The fix itself is easy: tar -jcvf api-`date '+%Y%m%d%k%M' | tr ' '
'0'`.tbz files )

br,
  Nicholas




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to