Nice software for humans (by humans)
Speaks: go/simply python/rapidly bash/compositely guile/slyly
Nice software for humans (by humans)
Speaks: go/simply python/rapidly bash/compositely guile/slyly
CLI to render Go template text files based on command line parameters and/or a YAML
- [SC1000](https://github.com/koalaman/shellcheck/wiki/SC1000) $ is not used specially and should therefore be escaped.
- [SC1001](https://github.com/koalaman/shellcheck/wiki/SC1001) This `\o` will be a regular 'o' in this context.
- [SC1003](https://github.com/koalaman/shellcheck/wiki/SC1003) Want to escape a single quote? echo 'This is how it'\\''s done'.
- [SC1004](https://github.com/koalaman/shellcheck/wiki/SC1004) This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.
- [SC1007](https://github.com/koalaman/shellcheck/wiki/SC1007) Remove space after = if trying to assign a value (or for empty string, use var='' ... ).
#!/bin/bash
(( ${#} >= 3 )) || { echo "usage: $(basename ${0}) github-username archive-file [files | directories]"; exit 1; }
exec >${2}
To run this, you can try:
curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
sqlite3 -separator ' ' ${COOKIES:-Cookies} \
'select host_key, "TRUE", path, "FALSE", expires_utc, name, value from cookies'