USER command questions
Tyler Style
tyler.style at gmail.com
Fri Sep 11 06:25:24 PDT 2009
Thanks Ken. Not being a filePro expert and the docs being poor, knowing
which command to use when is difficult. The documentation says to avoid
using SYSTEM as it launches a new shell and eats up resources, so that
is what I was trying to do via USER.
Kenneth Brody wrote:
> 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.
>
More information about the Filepro-list
mailing list