On Wed, Feb 19, 2003 at 01:10:28PM -0500, Mazza, Glen R., ,CPMS wrote: > > What I'm looking for is some "foo" command that will allow me to type in: > foo AFile.txt > and get a response--including the year--like: > 2002 Oct 4 11:04
There's got to be an easier way to do this but: function foo() { LANG=C stat $* | grep Access | tail -1 | sed -e 's/Access: //'; } [seyman@fred seyman]$ foo AFile.txt Wed Feb 19 19:23:52 2003 Emmanuel -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list