gabriel rosenkoetter on Wed, 19 Feb 2003 16:56:05 -0500 |
On Wed, Feb 19, 2003 at 03:57:14PM -0500, Walt Mankowski wrote: > %A - Access rights in human readable form > %a - Access rights in octal > %b - Number of blocks allocated > %D - Device number in hex > %d - Device number in decimal [...] > %i - Inode number > %N - Quoted File name with dereference if symbolic link [...] > %X - Time of last access as seconds since Epoch > %x - Time of last access > %Y - Time of last modification as seconds since Epoch > %y - Time of last modification > %Z - Time of last change as seconds since Epoch > %z - Time of last change Oh, good, totally non-portable. I don't even know if stat(1)'s defined by POSIX or SuS. It may well not be. But it strikes me that since people are used to ctime, mtime, and atime, it might have been reasonable to have used %c, %m, and %a, like NetBSD did (and I think we got it from FreeBSD). Oh well, it's totally non-portable anyway, since plenty of OSes lack it (Solaris, for instance). -- gabriel rosenkoetter gr@eclipsed.net Attachment:
pgpBEs4OM8FK5.pgp
|
|