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
signature.asc
Description: PGP signature
_______________________________________________ paludis-user mailing list [email protected] http://lists.pioto.org/mailman/listinfo/paludis-user
