Hi list, A silly question here:
A simple list I wrote to test ===================== $ cat test #!/usr/bin/sh # while true; do echo hello echo "" sleep 2 done ===================== if I run it as the following: $ ./test > tmp.txt of course I can get something from tmp.txt file And if I run it as [aubrey-...@~]./test | sed '/^$/d' hello hello hello Blank line will be filtered by sed, but if I run it as [aubrey-...@~]./test | sed '/^$/d' > tmp.txt Nothing is in the tmp.txt. What's wrong I did? Thanks, -Aubrey _______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org