[comp.unix.xenix] Foxbase+ and file systems

root@elevia.UUCP (Super user) (08/19/88)

	I recently installed the SBT package on a SCO Xenix system
	in directories that belonged to a second, mounted, hard disk.
	Releases to GL would not work because "attempt to move to
	another file system" or some such nonsense. 
	
	Studying the code I found out that the culprit was RENAME.
	I did not try to grok what SCO's Foxbase+ RENAME does, but
	I replaced all occurences of it, in all programs with:
	RUN "mv file1 file2"  which did not work either, because the
	file names are in capitals... So I replaced 'mv' with 'move'
	and placed the move shell script in /usr/bin.
	
	Here is 'move' in the minimal keystroke form, add your bells,
	whistles and comments, a piacere:
	#
	mv `echo $1 | tr "[A-Z]" "[a-z]"` `echo $2 | tr "[A-Z]" "[a-z]"`
	#
	Anyone out there wishing to contribute a *tested* shell script
	that automates the RENAME modification to the SBT code?

	SBT people, if you see this, feel free to post it on your BBS.
	I won't do it on my dime.  :+)

#include <disclaimers/std.h>
William Alain Simon (no organization - no church - no flag)
{...!mcgill-vision!{odyssee|iros1}|...!uunet!attcan!sobeco}!elevia!alain