0.0.3 • Published 9 years ago
concat-sh-files v0.0.3
Install
npm install -g concat-sh-files
Features
remove shebang, comments, empty lines
validate .sh files
Usage
usage: concat-sh-files path ...
Example
$ find ~/.aliases/ -type f -name "*.sh" -exec concat-sh-files {} + > ~/.bash_aliases
$ find ~/.exports/ -type f -name "*.sh" -exec concat-sh-files {} + > ~/.bash_exports
$ find ~/.functions/ -type f -name "*.sh" -exec concat-sh-files {} + > ~/.bash_functions
Sources:
0.0.3
9 years ago