Re: a question about output

2002-11-24 Thread Jeff 'japhy' Pinyan
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

Re: a question about output

2002-11-24 Thread Chris Ball
>> 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

Re: a question about output

2002-11-24 Thread Jeff 'japhy' Pinyan
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