Skip to content

Conversation

@g0tmi1k
Copy link
Contributor

@g0tmi1k g0tmi1k commented Jun 4, 2014

This isn't idiot proof. Its not perfect...
...However, its the start of something!

Before

root@nas3:~# echo >
>
root@nas3:~# echo test > 123                                                                                                                                                                                                                 
test > 123
root@nas3:~# echo test | echo 123                                                                                                                                                                                                            
test | echo 123
root@nas3:~# echo < /etc/passwd                                                                                                                                                                                                              
< /etc/passwd
root@nas3:~#

After

root@nas3:~# echo >
bash: syntax error near unexpected token `newline'
root@nas3:~# echo test > 123                                                                                                                                                                                                                 
root@nas3:~# echo test | echo 123
123
root@nas3:~# echo < /etc/passwd                                                                                                                                                                                                              

root@nas3:~#

This isn't idiot proof. Its not perfect...
...However, its the start of something!
@g0tmi1k
Copy link
Contributor Author

g0tmi1k commented Jun 4, 2014

Related issues #92.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants