On Sat, Oct 16, 2010 at 11:09 PM, Aditya Mahajan <adit...@umich.edu> wrote: > Hi, > > In MkII, I can say > > \ReadFile{/tmp/filename} > > to read a file in /tmp directory. However, in MkIV, that fails because > ReadFile is defined as > > \unexpanded\def\ReadFile #1{\doreadfile{any} > {.}{#1}\donothing\donothing} > > so it explicitly searches in the . (current) directory. > > Bug or feature? What happen if you put a path like ./../../../../../tmp/filename ? -- luigi ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________