[tex-live] file and viewer commands on OS/2 and macos

Frank Küster frank at kuesterei.ch
Sun Jun 8 23:04:09 CEST 2008

"Zdenek Wagner" <zdenek.wagner at gmail.com> wrote:

>>  - is it possible to distinguish OS/2, and if not what will it return?
>>   msdos?
> Using the following in perl:
> use Config;
> print $Config{'osname'};
> I get: OS/2

What's the output of

#!/usr/bin/env texlua


(on a system with luatex installed, if you have that)?

>>  - What would be useful commands for removing a file or directory on
>>   OS/2?
> The native command for deleting a file is "del". There is no native
> command for deleting a directory although some methods in Rexx exist.

But if a directory is empty, del works on it as well, doesn't it?

> If you want to
> delete a directory from perl, you can use rmtree from File::Path, it
> works.

It's luatex, not perltex: lua is the language of choice these days ;-/

Regards, Frank
Frank Küster
Debian Developer (teTeX/TeXLive)

More information about the tex-live mailing list