bash output redirection: debian vs freebsd
I'm running debian 3.0r2 on one box and freebsd-4.9-STABLE on another, both using bash.
bash on the freebsd box works with the following command:
./executable > status.out &
as data hits stdout, the lines show up in status.out (viewed in another terminal via tail -f)
on the debian box, the following command
./executable > status.out &
won't close the file until the program terminates
as such, the output doesn't show up in another terminal via tail -f until the program ends or is stopped.
is there any configuration option / hack fix to fix this? are the linked libraries to blame?
|