Subject: Re: Ultrix and names2dos - solution To: cwolff AT slowboy DOT intellistor DOT com (Clint Wolff), bergman AT panix DOT com Date: Sat, 1 May 93 18:44:38 EDT From: Stephen Turnbull Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJ's GPP mailing list) Mark Bergman & Clint Wolff-- Thanks for your help with my Ultrix/names2dos problems. It turns out that 'sh' under Ultrix does *not* properly support 'test'. In particular, test does not accept the '-x' operand to test whether files are executable. This is what was causing my problems with "unknown operators". The solution is to use 'sh5', which is (supposed to be) Sys V compatible, instead of 'sh'. Its test does support the '-x' operator, and the distributed form of Bergman's names2dos works fine. Mark-- Regarding my suggestion for using names2dos to move (large) Unix directory trees to DOS machines, this isn't a good idea, even if you add an option to not change the contents of files. The directory collection script is just too inefficient for this purpose. I suspect that you'd have to change the program's logic quite drastically to speed it up, and this might introduce further bugs, and so on. It would probably be better to make a new tool from the djtarx code or something like that. -- Stephen Turnbull The Ohio State University, Department of Economics 410 Arps Hall, 1945 N. High St., Columbus, OH 43210-1172 USA Phone: (614) 292-0654 Fax: ...-3906 Email: turnbull DOT 1 AT osu DOT edu