[OS X TeX] Re: Save date-time, not Print date
Joachim Kock
jkock at start.no
Mon Jan 8 02:44:45 EST 2007
Perhaps you will find the tex command \jobname useful.
Joachim.
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}
------------------------- 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 MacOSX-TeX
mailing list