Nate Fischer

Results 340 comments of Nate Fischer

> you are supposed to return q single string '/tmp/a /tmp/b'. Why not return an array, such as `['/tmp/a', '/tmp/b']`? This sounds like a more convenient API--otherwise users need to...

> Anyone know of a good npm module to escape file names? There could be more to escape than spaces, I don't see why this module needs to escape things...

> file names has to be joined in a single string and later pass to child process as an array. > > But after more thorough thinking I'm not sure...

> name may be the same as one of the special builtins or as one of the reserved words (POSIX forbids that) Interesting, that's good to know!

Comments are usually only preserved in the concrete syntax tree, and get stripped before producing an AST. I don't think preserving comments should be a goal of this project; we...

We don't focus too much on electron over at the chrome team. Building chromium for Android is definitely an option though (although you'll need a powerful machine to compile it...

> adding node support for mobile OS's such as iOS, Android and Window's Phone Not sure if this matters, but Chrome for iOS uses Safari's JS engine, not V8. This...

Update: Most shelljs methods have `.code` attributes (`.code === 0` means success). `shell.test()` is the notable exception. ## Some design ideas We could translate this into an 'if' expression: ```js...

Yeah, that doesn't surprise me. ShellJS doesn't have great `sed` support (it only implements the `s/` mode). The most reasonable fix would be for the transpiler to detect this and...

I think it's the path to the script, as specified on the CLI: ```sh $ cat print0.sh #!/bin/bash echo $0 $ bash print0.sh # notice the output is exactly what...