[OS X TeX] Re: Save date-time, not Print date

Eric van der Oord eric.vanderoord at free.fr
Sun Jan 7 17:19:53 CET 2007


In this case the file you typeset must be "foo.tex"...

It works for me.

Regards

Eric
Le 7 janv. 07 à 15:49, Alain Schremmer a écrit :

> Victor Ivrii wrote:
>
>> \documentclass[12pt]{article}
>>
>> \newcommand\file{foo}
>>
>> \begin{document}
>>
>> Test
>>
>> \immediate\write18{ls -l \file.tex | cut -b33-45 > \file.date}
>> \input\file.date
>>
>> \end{document}
>
> I copy pasted this on a new file and typeset it. I got an output  
> with the word "Test" but nothing else.
>
---

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/




More information about the macostex-archives mailing list