Change the interface of the Split function.

To allow the caller to detect incomplete quotation marks, Split now returns a
Boolean flag signifying whether the result is "valid".

In implementing this, I found a few other bugs, which are now fixed and the
tests updated to catch regressions.
2 files changed
tree: ed02b6a47fa3037b81e8a87f7f39ac58ec4f6713
  1. README.md
  2. shell.go
  3. shell_test.go
README.md

shell

The shell package implements basic shell command-line splitting.

View documentation on GoDoc.