http://qs321.pair.com?node_id=356214


in reply to Re: File Test -A problem on SunOS 5.9 & perl 5.8.3
in thread File Test -A problem on SunOS 5.9 & perl 5.8.3

This doesn't work. Ideas? Output:
bash-2.05$ls -u /tmp/file.dat file.dat bash-2.05$ls -u /tmp/somedir bash-2.05$


----
Zak - the office

Replies are listed 'Best First'.
Re: Re: Re: File Test -A problem on SunOS 5.9 & perl 5.8.3
by dave_the_m (Monsignor) on May 25, 2004 at 14:08 UTC
    Sorry, that should be ls -lu
      it works for files, but for dirs I get:
      bash-2.04$ls -lu dirname total 0 bash-2.04$


      ----
      Zak - the office
        okay, do ls -lud dirname then. The important question is: does the last accessed time as shown by ls differ from the last access time as shown by -A?