Families Laws wrote:
>
> The Unix command is: `cp -ip $file1 $file2`. I needed
> to know if the cp operation is successful. I tried
> $result = `cp -ip $file1 $file2`;
> $result does not contain any value after the execution
> even when $file1 does not exist.
>
> How can I find out if the 'cp' o
At 10:21 PM 1/2/02 -0800, Families Laws wrote:
>The Unix command is: `cp -ip $file1 $file2`. I needed
>to know if the cp operation is successful. I tried
>$result = `cp -ip $file1 $file2`;
>$result does not contain any value after the execution
>even when $file1 does not exist.
>
>How can I find o
The Unix command is: `cp -ip $file1 $file2`. I needed
to know if the cp operation is successful. I tried
$result = `cp -ip $file1 $file2`;
$result does not contain any value after the execution
even when $file1 does not exist.
How can I find out if the 'cp' operation is successful
or not ?
Thank