shell - LaTeX: Which OS am I running on? -


I am writing a latex package for which it is necessary to use \ write18 . Some shell commands I give are system-specific (e.g., rm vs. del ). Is there a way to decide which system I am running?

It will be enough to be incompatible with Windows and other (Unix-like) systems.

Take a look at the LaTeX ifplatform package. There have been lots of discussions about reliable methods in many platforms, and current releases work very well.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -