Advertisement
Guest User

Untitled

a guest
Sep 6th, 2011
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Run the next line in the 1st console
  2. mkfifo test ; echo "never_seen_echo" > test & sleep 1 ; echo "seen_echo" > test ; sleep 3 ; rm test
  3.  
  4. AFTERWARD, Run the next line in the 2nd console:
  5. read x < test ; echo $x
  6.  
  7. The expected result is "never_seen_echo", but you get "seen_echo" instead.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement