sdether / josh.js

Toolkit for building a bash-like shell in the browser, including full readline support
http://sdether.github.com/josh.js/
Apache License 2.0
390 stars 76 forks source link

Arguments for commands need to understand quoting and space escaping #3

Open sdether opened 11 years ago

sdether commented 11 years ago

Current arguments to commands are just determined on whitespace separation. Should respect quoting and {space} to treat an arg with a space as a single argument. Should really expose argument parsing logic as a handler, so that custom logic can be added for deciding what is a single argument.