Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Run the next line in the 1st console
- mkfifo test ; echo "never_seen_echo" > test & sleep 1 ; echo "seen_echo" > test ; sleep 3 ; rm test
- AFTERWARD, Run the next line in the 2nd console:
- read x < test ; echo $x
- The expected result is "never_seen_echo", but you get "seen_echo" instead.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement