Closed andyhurd closed 12 years ago
Fixed but there is still a bug with the prompt being printed too soon. ALSO since we redirect standard out, all the debug statements screw it up because they all print to standard out. SO DEBUGGING MUST BE TURNED OFF!
Example: ls -l | more Details: This takes the output of the first command and makes it the input to the second command. Concepts: Pipes, synchronous operation System calls: pipe() Note: You must check and correctly handle all return values. This means that you need to read the man pages for each function to figure out what the possible return values are, what errors they indicate, and what you must do when you get that error.