List Info

Thread: "ocaml_beginners"::[] Modification date within Ocaml




"ocaml_beginners"::[] Modification date within Ocaml
user name
2006-06-24 18:35:22
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/
 



"ocaml_beginners"::[] Modification date within Ocaml
user name
2006-06-25 06:51:57
--- In ocaml_beginners@yahoogroups.com, Matthew Hannigan
<mlh...> wrote:
>  I can't see how this would work
> in bash unless it supports it internally.
   
    It does ... (by the way I donīt know where to look in
order to know
which version of bash I'm using on my Mac)

                               Ewan






------------------------ Yahoo! Groups Sponsor
--------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
 


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )