FreeBSD 7.1 and /usr/bin/script

Code:
> uname -r                         
6.4-RELEASE                                      
> script -q log sh -c "echo Hello" 
Hello                                            
>
and
Code:
> uname -r                        
7.1-RELEASE                             
> script -q log sh -c "echo Hello"
>
where "Hello"? what`s wrong?...
 
Hmm...and again
Code:
>uname -r
7.0-STABLE
>script log sh -c "echo Hello"
Script started, output file is log

Script done, output file is log
>
show your environments, pls.....
 
My Environments

Code:
%uname -r
7.1-RELEASE
%script log sh -c "echo Hello"
Script started. output file is log
Hello

Script done, output file is log
 
Yokoo, can you try more than once? Smth like
Code:
#! /bin/sh

i=0
while [ $((i+=1)) -le 1000 ]; do
        script -q /dev/null ls /dev/null
done | wc -l
several times. If it always shows 1000, then you're not affected.
 
Back
Top