shx
shx copied to clipboard
Portable Shell Commands for Node
when I run `shx rm -f -r dir` it fails with the error `path is a directory` but when I run the exactly same command but putting arguments together it...
- removing uneccessary loops - using early returns when possible
Hi, I recently used shx and came across the problem of negating a condition. So, referencing this #173, I implemented a global --negate flag.
I'd like a cross-platform way of executing local executables, e.g. under *nix I can currently: ``` ./local/path/executable ``` this doesn't work under windows because of the path representation `./`. I...
Hello! Im trying to run the following script in my packacge.json: "clean": "shx rm -rf node_modules", yet when i run it i run into the following error: > shx rm...
```sh $ sed -i 's/foo/bar/g' file.txt # note: this is silent $ cat file.txt bar $ shx sed -i 's/bar/baz/g' file.txt # this should be silent baz $ shx cat...
Certain uses of grep appear to add extra newlines. Ex: Try something like this: > shx ls '~/Music/iTunes' | shx grep 'iTunes' It acts as expected, producing strings with a...
Add a cross-env feature which resolves environment variables in a standard way. Example: I like to use env vars so that configuration information can be stored in package.json. I believe...
After we update minimum node version to v8 (#186), we should see if we can remove the babel config and just use ES6 features directly. This will simplify the build...
I just made the first attempt to use shx. `shx find BUILD/debug -type f -name '*.o'` yields **find: no such file or directory: -type**