5 # Description: test to see if /bin/cat is unbuffered (i.e., -u is needed)
6 # Return 0 if buffered, 1 if unbuffered.
8 # If this file is sitting in an architecture-specific library directory,
9 # then it serves as a marker that your /bin/cat buffers by default.
11 # test for when catting to/from files
13 spawn -open [open "|cat" "r+"]
17 # test for when catting to real tty
21 #expect "\r\n\r\n" {exit 1}