On Nov 25, Chris Ball said:
> >> how can I output "first line\n" and "last line\n" to the screen
> >> but save the result of system command "ls" to a file(eg
> >> "result")(not appear on the screen")?
>
>>> On 24 Nov 2002 23:42:50, Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> said:
> > Unbuffer
>> how can I output "first line\n" and "last line\n" to the screen
>> but save the result of system command "ls" to a file(eg
>> "result")(not appear on the screen")?
>> On 24 Nov 2002 23:42:50, Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> said:
> Unbuffer STDOUT:
> $| = 1;
> See 'p
On Nov 24, stanley said:
>print "first line\n";
>
>system ("ls");
>
>print "last line\n";
>how can I output "first line\n" and "last line\n" to
>the screen but save the result of system command "ls"
>to a file(eg "result")(not appear on the screen")?
Unbuffer STDOUT:
$| = 1;
See 'perldoc per