find command uses different format for results in 10.04 lts and 8.04 lts
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' Code:
/usr/bin/find /tmp -type f -printf '%p\t%s\t%A@\n' Thanks |
Hi,
Quote:
Code:
# On an old box: |
Well you are right although i cannot find the change in the findutils changelog...
Thanks for the answer |
All times are GMT -5. The time now is 10:10 PM. |