diff --git a/shell.js b/shell.js index f32e1f7..b4c75b2 100644 --- a/shell.js +++ b/shell.js @@ -513,8 +513,14 @@ exports.mkdir = wrap('mkdir', _mkdir); //@ ### test(expression) //@ Available expression primaries: //@ +//@ + `'-b', 'path'`: true if path is a block device +//@ + `'-c', 'path'`: true if path is a character device //@ + `'-d', 'path'`: true if path is a directory +//@ + `'-e', 'path'`: true if path exists //@ + `'-f', 'path'`: true if path is a regular file +//@ + `'-L', 'path'`: true if path is a symboilc link +//@ + `'-p', 'path'`: true if path is a pipe (FIFO) +//@ + `'-S', 'path'`: true if path is a socket //@ //@ Examples: //@