USER command questions

Kenneth Brody kenbrody at spamcop.net
Fri Sep 11 06:13:42 PDT 2009


Tyler wrote:
> Has anyone managed to get his to work on SCO Openserver with the mv or cp
> commands?  I can get ls to work, but no matter what I try I get the command
> usage output to std err.  These are such basic commands I can't believe they
> wouldn't work for USER as it is described in the manual.
[...]

As others have noted, USER is the wrong tool for the job.  Although cp and 
mv are "such basic commands", they are designed, pure and simple, to take 
parameters from the command line, do their thing, and exit.  They are not 
designed to work in an environment such as filePro's USER command, where 
things come in via stdin and results are sent via stdout.

Use the SYSTEM command, which was designed to be used for such things.

It sounds to me along the same lines of complaining that a screwdriver can't 
do "such basic construction" as putting in a nail.

-- 
Kenneth Brody


More information about the Filepro-list mailing list