firstly why are you doing
Quote:
echo "$(repquota -a)" > temp
|
why not simply
you can't simply print the output of a command
(I assume you mean calling a system command from perl?)
you can use sytem which will print out anyway.
if you want to save to a file you can use system
Code:
system("repquota -a > temp")
or using 'open' in perl
you can do operations line by line of the output:
(this example will simply print output from find)
Code:
open OUT, "2>&1 /usr/bin/find . |";
print while (<OUT>);