Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!purdue!bu-cs!bloom-beacon!mcgill-vision!odyssee!iros1!vedge!elevia!root
From: root@elevia.UUCP (Super user)
Newsgroups: comp.unix.xenix
Subject: Foxbase+ and file systems
Keywords: Foxbase+ SBT file_system
Message-ID: <4@elevia.UUCP>
Date: 18 Aug 88 17:34:20 GMT
Reply-To: alain@elevia.UUCP (Simon)
Organization: William Alain Simon
Lines: 26


	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 
William Alain Simon (no organization - no church - no flag)
{...!mcgill-vision!{odyssee|iros1}|...!uunet!attcan!sobeco}!elevia!alain