dundalek / closh

Bash-like shell based on Clojure
Eclipse Public License 1.0
1.62k stars 66 forks source link

Implement a library as alternative to test #141

Closed dundalek closed 5 years ago

dundalek commented 5 years ago

Implement a library instead test command.

Ideas:

executable? / x?
writable? / w?

(and (test/x? file) (test/w? file))

(test (and (x? file) (w? file)))
dundalek commented 5 years ago

There is an existing library to do this, I added an example into cookbook.