On Sat, Jun 24, 2006 at 01:31:25PM -0000, roparzhhemon
wrote:
> In bash I would do something like this :
>
> stat -s fname
> echo $st_mtime
>
What sort of stat command and shell are
you using? I can't see how this would work
in bash unless it supports it internally.
And if you called the shell twice externally
it still wouldn't work.
Ocaml has functions to do posix stat itself;
why not use it?
Matt
------------------------ Yahoo! Groups Sponsor
--------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced
email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/saFolB/TM
------------------------------------------------------------
--------~->
Archives up to August 22, 2005 are also downloadable at http://www.connettivo.net/cntprojects/ocaml_beginners/
The archives of the very official ocaml list (the seniors'
one) can be found at http://caml.inria.fr
Attachments are banned and you're asked to be polite, avoid
flames etc.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http:/
/groups.yahoo.com/group/ocaml_beginners/
<*> To unsubscribe from this group, send an email to:
ocaml_beginners-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|