max tokens

~9329 tokens

├── .editorconfig
├── .eslintignore
├── .eslintrc.json
├── .gitattributes
├── .github
    ├── ISSUE_TEMPLATE.md
    ├── SECURITY.md
    └── workflows
    │   └── main.yml
├── .gitignore
├── CHANGELOG.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── RELEASE.md
├── global.js
├── make.js
├── package.json
├── plugin.js
├── scripts
    ├── check-node-support.js
    └── generate-docs.js
├── shell.js
├── src
    ├── cat.js
    ├── cd.js
    ├── chmod.js
    ├── cmd.js
    ├── common.js
    ├── cp.js
    ├── dirs.js
    ├── echo.js
    ├── error.js
    ├── errorCode.js
    ├── exec-child.js
    ├── exec.js
    ├── find.js
    ├── grep.js
    ├── head.js
    ├── ln.js
    ├── ls.js
    ├── mkdir.js
    ├── mv.js
    ├── popd.js
    ├── pushd.js
    ├── pwd.js
    ├── rm.js
    ├── sed.js
    ├── set.js
    ├── sort.js
    ├── tail.js
    ├── tempdir.js
    ├── test.js
    ├── to.js
    ├── toEnd.js
    ├── touch.js
    ├── uniq.js
    └── which.js
└── test
    ├── .eslintrc.json
    ├── cat.js
    ├── cd.js
    ├── chmod.js
    ├── cmd.js
    ├── common.js
    ├── config.js
    ├── cp.js
    ├── dirs.js
    ├── docs.js
    ├── echo.js
    ├── env.js
    ├── exec.js
    ├── exit.js
    ├── find.js
    ├── global.js
    ├── grep.js
    ├── head.js
    ├── ln.js
    ├── ls.js
    ├── mkdir.js
    ├── mv.js
    ├── pipe.js
    ├── plugin.js
    ├── popd.js
    ├── pushd.js
    ├── pwd.js
    ├── resources
        ├── a.txt
        ├── badlink
        ├── cat
        │   ├── file1
        │   ├── file2
        │   ├── file3
        │   ├── file4
        │   └── file5
        ├── chmod
        │   ├── a
        │   │   └── b
        │   │   │   └── c
        │   │   │       └── .gitignore
        │   ├── b
        │   │   └── a
        │   │   │   └── b
        │   │   │       └── .gitignore
        │   ├── c
        │   │   └── a
        │   │   │   └── b
        │   │   │       └── .gitignore
        │   ├── file1
        │   └── xdir
        │   │   ├── deep
        │   │       └── file
        │   │   └── file
        ├── cp-mode-bits
        │   └── executable
        ├── cp
        │   ├── a
        │   ├── b
        │   ├── dir_a
        │   │   └── z
        │   ├── dir_b
        │   │   └── dir_b_a
        │   │   │   └── dir_b_a_a
        │   │   │       └── z
        │   ├── fakeLinks
        │   │   ├── file.txt
        │   │   └── sym.lnk
        │   ├── file1
        │   ├── links
        │   │   ├── file.txt
        │   │   └── sym.lnk
        │   └── symFolder
        ├── exec
        │   └── slow.js
        ├── external
        │   └── node_script.js
        ├── file1
        ├── file1.js
        ├── file1.txt
        ├── file2
        ├── file2.js
        ├── file2.txt
        ├── find
        │   ├── .hidden
        │   ├── a
        │   ├── b
        │   ├── broken_link
        │   ├── dir1
        │   │   ├── a_dir1
        │   │   └── dir11
        │   │   │   └── a_dir11
        │   ├── dir2
        │   │   └── a_dir1
        │   └── dir2_link
        ├── grep
        │   ├── case1
        │   ├── case1.js
        │   ├── case1.txt
        │   ├── file
        │   ├── file2
        │   └── file3
        ├── head
        │   ├── file1.txt
        │   ├── file2.txt
        │   ├── shortfile1
        │   └── shortfile2
        ├── issue44
        │   └── main.js
        ├── link
        ├── ls
        │   ├── .hidden_dir
        │   │   └── nada
        │   ├── .hidden_file
        │   ├── a_dir
        │   │   ├── .hidden_dir
        │   │   │   └── nada
        │   │   ├── b_dir
        │   │   │   └── z
        │   │   └── nada
        │   ├── file1
        │   ├── file1.js
        │   ├── file2
        │   ├── file2.js
        │   └── filename(with)[chars$]^that.must+be-escaped
        ├── pushd
        │   ├── a
        │   │   └── dummy
        │   └── b
        │   │   └── c
        │   │       └── dummy
        ├── rm
        │   ├── a_dir
        │   │   └── a_file
        │   ├── fake.lnk
        │   └── link_to_a_dir
        ├── sed
        │   └── empty.txt
        ├── sort
        │   ├── file1
        │   ├── file2
        │   ├── sorted
        │   └── sortedDashN
        ├── uniq
        │   ├── file1
        │   ├── file1c
        │   ├── file1d
        │   ├── file1t
        │   ├── file1u
        │   ├── file2
        │   ├── file2u
        │   ├── file3
        │   ├── pipe
        │   └── pipeSorted
        └── which
        │   └── node
    ├── rm.js
    ├── sed.js
    ├── set.js
    ├── sort.js
    ├── tail.js
    ├── tempdir.js
    ├── test.js
    ├── to.js
    ├── toEnd.js
    ├── touch.js
    ├── uniq.js
    ├── utils
        ├── mocks.js
        └── utils.js
    └── which.js


/.editorconfig:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/.editorconfig


--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/.eslintignore


--------------------------------------------------------------------------------
/.eslintrc.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/.eslintrc.json


--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text eol=lf
2 | 


--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/.github/ISSUE_TEMPLATE.md


--------------------------------------------------------------------------------
/.github/SECURITY.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/.github/SECURITY.md


--------------------------------------------------------------------------------
/.github/workflows/main.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/.github/workflows/main.yml


--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/.gitignore


--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/CHANGELOG.md


--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/CONTRIBUTING.md


--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/LICENSE


--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/README.md


--------------------------------------------------------------------------------
/RELEASE.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/RELEASE.md


--------------------------------------------------------------------------------
/global.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/global.js


--------------------------------------------------------------------------------
/make.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/make.js


--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/package.json


--------------------------------------------------------------------------------
/plugin.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/plugin.js


--------------------------------------------------------------------------------
/scripts/check-node-support.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/scripts/check-node-support.js


--------------------------------------------------------------------------------
/scripts/generate-docs.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/scripts/generate-docs.js


--------------------------------------------------------------------------------
/shell.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/shell.js


--------------------------------------------------------------------------------
/src/cat.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/cat.js


--------------------------------------------------------------------------------
/src/cd.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/cd.js


--------------------------------------------------------------------------------
/src/chmod.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/chmod.js


--------------------------------------------------------------------------------
/src/cmd.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/cmd.js


--------------------------------------------------------------------------------
/src/common.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/common.js


--------------------------------------------------------------------------------
/src/cp.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/cp.js


--------------------------------------------------------------------------------
/src/dirs.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/dirs.js


--------------------------------------------------------------------------------
/src/echo.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/echo.js


--------------------------------------------------------------------------------
/src/error.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/error.js


--------------------------------------------------------------------------------
/src/errorCode.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/errorCode.js


--------------------------------------------------------------------------------
/src/exec-child.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/exec-child.js


--------------------------------------------------------------------------------
/src/exec.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/exec.js


--------------------------------------------------------------------------------
/src/find.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/find.js


--------------------------------------------------------------------------------
/src/grep.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/grep.js


--------------------------------------------------------------------------------
/src/head.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/head.js


--------------------------------------------------------------------------------
/src/ln.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/ln.js


--------------------------------------------------------------------------------
/src/ls.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/ls.js


--------------------------------------------------------------------------------
/src/mkdir.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/mkdir.js


--------------------------------------------------------------------------------
/src/mv.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/mv.js


--------------------------------------------------------------------------------
/src/popd.js:
--------------------------------------------------------------------------------
1 | // see dirs.js
2 | 


--------------------------------------------------------------------------------
/src/pushd.js:
--------------------------------------------------------------------------------
1 | // see dirs.js
2 | 


--------------------------------------------------------------------------------
/src/pwd.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/pwd.js


--------------------------------------------------------------------------------
/src/rm.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/rm.js


--------------------------------------------------------------------------------
/src/sed.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/sed.js


--------------------------------------------------------------------------------
/src/set.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/set.js


--------------------------------------------------------------------------------
/src/sort.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/sort.js


--------------------------------------------------------------------------------
/src/tail.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/tail.js


--------------------------------------------------------------------------------
/src/tempdir.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/tempdir.js


--------------------------------------------------------------------------------
/src/test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/test.js


--------------------------------------------------------------------------------
/src/to.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/to.js


--------------------------------------------------------------------------------
/src/toEnd.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/toEnd.js


--------------------------------------------------------------------------------
/src/touch.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/touch.js


--------------------------------------------------------------------------------
/src/uniq.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/uniq.js


--------------------------------------------------------------------------------
/src/which.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/src/which.js


--------------------------------------------------------------------------------
/test/.eslintrc.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/.eslintrc.json


--------------------------------------------------------------------------------
/test/cat.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/cat.js


--------------------------------------------------------------------------------
/test/cd.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/cd.js


--------------------------------------------------------------------------------
/test/chmod.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/chmod.js


--------------------------------------------------------------------------------
/test/cmd.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/cmd.js


--------------------------------------------------------------------------------
/test/common.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/common.js


--------------------------------------------------------------------------------
/test/config.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/config.js


--------------------------------------------------------------------------------
/test/cp.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/cp.js


--------------------------------------------------------------------------------
/test/dirs.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/dirs.js


--------------------------------------------------------------------------------
/test/docs.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/docs.js


--------------------------------------------------------------------------------
/test/echo.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/echo.js


--------------------------------------------------------------------------------
/test/env.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/env.js


--------------------------------------------------------------------------------
/test/exec.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/exec.js


--------------------------------------------------------------------------------
/test/exit.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/exit.js


--------------------------------------------------------------------------------
/test/find.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/find.js


--------------------------------------------------------------------------------
/test/global.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/global.js


--------------------------------------------------------------------------------
/test/grep.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/grep.js


--------------------------------------------------------------------------------
/test/head.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/head.js


--------------------------------------------------------------------------------
/test/ln.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/ln.js


--------------------------------------------------------------------------------
/test/ls.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/ls.js


--------------------------------------------------------------------------------
/test/mkdir.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/mkdir.js


--------------------------------------------------------------------------------
/test/mv.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/mv.js


--------------------------------------------------------------------------------
/test/pipe.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/pipe.js


--------------------------------------------------------------------------------
/test/plugin.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/plugin.js


--------------------------------------------------------------------------------
/test/popd.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/popd.js


--------------------------------------------------------------------------------
/test/pushd.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/pushd.js


--------------------------------------------------------------------------------
/test/pwd.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/pwd.js


--------------------------------------------------------------------------------
/test/resources/a.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/a.txt


--------------------------------------------------------------------------------
/test/resources/badlink:
--------------------------------------------------------------------------------
1 | not_existed_file


--------------------------------------------------------------------------------
/test/resources/cat/file1:
--------------------------------------------------------------------------------
1 | test1
2 | 


--------------------------------------------------------------------------------
/test/resources/cat/file2:
--------------------------------------------------------------------------------
1 | test2
2 | 


--------------------------------------------------------------------------------
/test/resources/cat/file3:
--------------------------------------------------------------------------------
1 | test3


--------------------------------------------------------------------------------
/test/resources/cat/file4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/cat/file4


--------------------------------------------------------------------------------
/test/resources/cat/file5:
--------------------------------------------------------------------------------
1 | 


--------------------------------------------------------------------------------
/test/resources/chmod/a/b/c/.gitignore:
--------------------------------------------------------------------------------
1 | 


--------------------------------------------------------------------------------
/test/resources/chmod/b/a/b/.gitignore:
--------------------------------------------------------------------------------
1 | 


--------------------------------------------------------------------------------
/test/resources/chmod/c/a/b/.gitignore:
--------------------------------------------------------------------------------
1 | 


--------------------------------------------------------------------------------
/test/resources/chmod/file1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/chmod/file1


--------------------------------------------------------------------------------
/test/resources/chmod/xdir/deep/file:
--------------------------------------------------------------------------------
1 | a file
2 | 


--------------------------------------------------------------------------------
/test/resources/chmod/xdir/file:
--------------------------------------------------------------------------------
1 | a file
2 | 


--------------------------------------------------------------------------------
/test/resources/cp-mode-bits/executable:
--------------------------------------------------------------------------------
1 | asdf


--------------------------------------------------------------------------------
/test/resources/cp/a:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/cp/b:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/cp/dir_a/z:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/cp/dir_b/dir_b_a/dir_b_a_a/z:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/cp/fakeLinks/file.txt:
--------------------------------------------------------------------------------
1 | This is a file
2 | 


--------------------------------------------------------------------------------
/test/resources/cp/fakeLinks/sym.lnk:
--------------------------------------------------------------------------------
1 | This is not a link
2 | 


--------------------------------------------------------------------------------
/test/resources/cp/file1:
--------------------------------------------------------------------------------
1 | test2
2 | 


--------------------------------------------------------------------------------
/test/resources/cp/links/file.txt:
--------------------------------------------------------------------------------
1 | This is a file
2 | 


--------------------------------------------------------------------------------
/test/resources/cp/links/sym.lnk:
--------------------------------------------------------------------------------
1 | file.txt


--------------------------------------------------------------------------------
/test/resources/cp/symFolder:
--------------------------------------------------------------------------------
1 | links/


--------------------------------------------------------------------------------
/test/resources/exec/slow.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/exec/slow.js


--------------------------------------------------------------------------------
/test/resources/external/node_script.js:
--------------------------------------------------------------------------------
1 | console.log('node_script_1234');
2 | 
3 | 


--------------------------------------------------------------------------------
/test/resources/file1:
--------------------------------------------------------------------------------
1 | test1


--------------------------------------------------------------------------------
/test/resources/file1.js:
--------------------------------------------------------------------------------
1 | test
2 | 


--------------------------------------------------------------------------------
/test/resources/file1.txt:
--------------------------------------------------------------------------------
1 | test1
2 | 


--------------------------------------------------------------------------------
/test/resources/file2:
--------------------------------------------------------------------------------
1 | test2


--------------------------------------------------------------------------------
/test/resources/file2.js:
--------------------------------------------------------------------------------
1 | test
2 | 


--------------------------------------------------------------------------------
/test/resources/file2.txt:
--------------------------------------------------------------------------------
1 | test2
2 | 


--------------------------------------------------------------------------------
/test/resources/find/.hidden:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/find/a:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/find/b:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/find/broken_link:
--------------------------------------------------------------------------------
1 | non_existent


--------------------------------------------------------------------------------
/test/resources/find/dir1/a_dir1:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/find/dir1/dir11/a_dir11:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/find/dir2/a_dir1:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/find/dir2_link:
--------------------------------------------------------------------------------
1 | dir2


--------------------------------------------------------------------------------
/test/resources/grep/case1:
--------------------------------------------------------------------------------
1 | Test3
2 | 


--------------------------------------------------------------------------------
/test/resources/grep/case1.js:
--------------------------------------------------------------------------------
1 | test3
2 | 


--------------------------------------------------------------------------------
/test/resources/grep/case1.txt:
--------------------------------------------------------------------------------
1 | TEST3
2 | 


--------------------------------------------------------------------------------
/test/resources/grep/file:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/grep/file


--------------------------------------------------------------------------------
/test/resources/grep/file2:
--------------------------------------------------------------------------------
1 | -v
2 | -vv
3 | -a
4 | 


--------------------------------------------------------------------------------
/test/resources/grep/file3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/grep/file3


--------------------------------------------------------------------------------
/test/resources/head/file1.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/head/file1.txt


--------------------------------------------------------------------------------
/test/resources/head/file2.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/head/file2.txt


--------------------------------------------------------------------------------
/test/resources/head/shortfile1:
--------------------------------------------------------------------------------
1 | short1
2 | 


--------------------------------------------------------------------------------
/test/resources/head/shortfile2:
--------------------------------------------------------------------------------
1 | short2
2 | 


--------------------------------------------------------------------------------
/test/resources/issue44/main.js:
--------------------------------------------------------------------------------
1 | 123


--------------------------------------------------------------------------------
/test/resources/link:
--------------------------------------------------------------------------------
1 | file1


--------------------------------------------------------------------------------
/test/resources/ls/.hidden_dir/nada:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/ls/.hidden_file:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/ls/a_dir/.hidden_dir/nada:
--------------------------------------------------------------------------------
1 | nada


--------------------------------------------------------------------------------
/test/resources/ls/a_dir/b_dir/z:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/ls/a_dir/nada:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/ls/file1:
--------------------------------------------------------------------------------
1 | test
2 | 


--------------------------------------------------------------------------------
/test/resources/ls/file1.js:
--------------------------------------------------------------------------------
1 | test
2 | 


--------------------------------------------------------------------------------
/test/resources/ls/file2:
--------------------------------------------------------------------------------
1 | test
2 | 


--------------------------------------------------------------------------------
/test/resources/ls/file2.js:
--------------------------------------------------------------------------------
1 | test
2 | 


--------------------------------------------------------------------------------
/test/resources/ls/filename(with)[chars$]^that.must+be-escaped:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/pushd/a/dummy:
--------------------------------------------------------------------------------
1 | meh


--------------------------------------------------------------------------------
/test/resources/pushd/b/c/dummy:
--------------------------------------------------------------------------------
1 | meh


--------------------------------------------------------------------------------
/test/resources/rm/a_dir/a_file:
--------------------------------------------------------------------------------
1 | asdf
2 | 


--------------------------------------------------------------------------------
/test/resources/rm/fake.lnk:
--------------------------------------------------------------------------------
1 | missing


--------------------------------------------------------------------------------
/test/resources/rm/link_to_a_dir:
--------------------------------------------------------------------------------
1 | a_dir


--------------------------------------------------------------------------------
/test/resources/sed/empty.txt:
--------------------------------------------------------------------------------
1 | 


--------------------------------------------------------------------------------
/test/resources/sort/file1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/sort/file1


--------------------------------------------------------------------------------
/test/resources/sort/file2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/sort/file2


--------------------------------------------------------------------------------
/test/resources/sort/sorted:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/sort/sorted


--------------------------------------------------------------------------------
/test/resources/sort/sortedDashN:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/sort/sortedDashN


--------------------------------------------------------------------------------
/test/resources/uniq/file1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/uniq/file1


--------------------------------------------------------------------------------
/test/resources/uniq/file1c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/uniq/file1c


--------------------------------------------------------------------------------
/test/resources/uniq/file1d:
--------------------------------------------------------------------------------
1 | bar
2 | 


--------------------------------------------------------------------------------
/test/resources/uniq/file1t:
--------------------------------------------------------------------------------
1 | foo
2 | bar
3 | baz
4 | 


--------------------------------------------------------------------------------
/test/resources/uniq/file1u:
--------------------------------------------------------------------------------
1 | foo
2 | bar
3 | baz
4 | 


--------------------------------------------------------------------------------
/test/resources/uniq/file2:
--------------------------------------------------------------------------------
1 | foo
2 | bar
3 | Bar
4 | baz
5 | 


--------------------------------------------------------------------------------
/test/resources/uniq/file2u:
--------------------------------------------------------------------------------
1 | foo
2 | bar
3 | baz
4 | 


--------------------------------------------------------------------------------
/test/resources/uniq/file3:
--------------------------------------------------------------------------------
1 | foo
2 | bar
3 | baz
4 | 


--------------------------------------------------------------------------------
/test/resources/uniq/pipe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/uniq/pipe


--------------------------------------------------------------------------------
/test/resources/uniq/pipeSorted:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/resources/uniq/pipeSorted


--------------------------------------------------------------------------------
/test/resources/which/node:
--------------------------------------------------------------------------------
1 | text file, not an executable
2 | 


--------------------------------------------------------------------------------
/test/rm.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/rm.js


--------------------------------------------------------------------------------
/test/sed.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/sed.js


--------------------------------------------------------------------------------
/test/set.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/set.js


--------------------------------------------------------------------------------
/test/sort.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/sort.js


--------------------------------------------------------------------------------
/test/tail.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/tail.js


--------------------------------------------------------------------------------
/test/tempdir.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/tempdir.js


--------------------------------------------------------------------------------
/test/test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/test.js


--------------------------------------------------------------------------------
/test/to.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/to.js


--------------------------------------------------------------------------------
/test/toEnd.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/toEnd.js


--------------------------------------------------------------------------------
/test/touch.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/touch.js


--------------------------------------------------------------------------------
/test/uniq.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/uniq.js


--------------------------------------------------------------------------------
/test/utils/mocks.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/utils/mocks.js


--------------------------------------------------------------------------------
/test/utils/utils.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/utils/utils.js


--------------------------------------------------------------------------------
/test/which.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelljs/shelljs/HEAD/test/which.js


--------------------------------------------------------------------------------