Hello,
I have created a piece of sw which at some point executes the find command with some parameters and parses the results. It works fine on 8.04 but i get a slighlty different behaviour from find in 10.04. Specifically if i request using printf to display the last time a file was accessed, in 8.04 i get it in integer format while in10.04 i get it in float. What is the reason? I have a feeling it is not a find version issue. Is there a way to get 10.04 to behave like 8.04?
Here is the command and the result in 10.04
Code:
/usr/bin/find /tmp -type f -printf '%p\t%s\t%A@\n'
/tmp/debug.xml 37079 1304582201.5116502900
/tmp/webpage 0 1304581917.0505157280
And how it is on 8.04
Code:
/usr/bin/find /tmp -type f -printf '%p\t%s\t%A@\n'
/tmp/webpage 59906 1304591677
/tmp/50K_1 51200 1304547070
Any help would be appreciated,
Thanks