-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pipes and Redirection #15
Comments
Hi. Is there documentation on how to implement piping? |
Hi @LordRatte! Thanks for your interest. Would you like to help adding pipes to bash-emulator? To implement pipes, the Input is described here but currently not implemented in any of the commands. The only existing command that can use input is To summarize, only Please let me know if you have any questions! |
Hi, jorinvo. Sorry, I misunderstood. I thought you were saying that it was already available to be used. I would love to help out but I wouldn't even know how to start. |
Shell supports pipes | now. For now cat is the only command that actually uses stdin though. Also fixed some other consistency issues and a few missing tests. See #15.
Shell supports pipes | now. For now cat is the only command that actually uses stdin though. Also fixed some other consistency issues and a few missing tests. See #15.
Good news! I added the pipes functionality. |
Hey, that's pretty cool @jorinvo . Thanks, man. |
We already have some chapters prepared for our game to teach about pipes
|
and redirection<
/>
.This can be implemented in a generic way in the
.run()
system method.The command interface is already designed in a way to allow streaming of input and output.
|
<
>
>>
The text was updated successfully, but these errors were encountered: