What would be in out.txt?
#!/bin/bash echo 123446789 > out.txt exec 3<> out.txt read -n 4 <&3 echo -n 5 >&3 exec 3>&-
123446789
the number 5, which is written to the file using echo
123456789
the hyphen symbol (-)