Yep, that covers all the bases.  Thanks for the quick response.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ciaran
McCreesh
Sent: Monday, November 15, 2010 9:46 AM
To: [email protected]
Subject: Re: [paludis-user] coretils 8.7 has reverted the 8.6 decimal
format

On Mon, 15 Nov 2010 09:38:06 -0500
"Tom" <[email protected]> wrote:
> The decimal format for %X, %Y, and %Z, which was introduced by 
> coreutils 8.6 and addressed by Paludis 0.54.6, has been reverted by 
> coreutils 8.7 because it broke too many programs.  The 8.6 format can 
> still be used by specifying %.X, %.Y, and %.Z in place of %X, %Y, and 
> %Z, respectively. Does this mean that using Paludis 0.54.6 and up with

> coreutils 8.7 will cause problems?

Nope.

    mtime=$(stat -c '%Y' "$@")
    ret=$?
    echo ${mtime%%.*}
    exit $ret

It just lops off the .blah if it's there, and does nothing if it isn't.

--
Ciaran McCreesh
_______________________________________________
paludis-user mailing list
[email protected]
http://lists.pioto.org/mailman/listinfo/paludis-user

Reply via email to