I wish the "goblin" project was used to re-imagine how the old plan9
commands may be done in a new language, rather than simply rewriting
the commands almost line-for-line while introducing errors. Take a
look at basename/main.go -- that functionality is already in package
"path", why bother? Or cmp/main.go, where we see:

flag.Bool("l", false, "do not print and character")

or

flag.Bool("s", false, "silent, do not print errors")

(the last one omits a very important detail: exit status is still set)

cat/main.go is just io.Copy too, no need to muck about with buffers. and so on.

this project needs a significant QA effort to bring it up to the
quality of both Plan9 programs and the Go stdlib.

Reply via email to