0.0.3 • Published 9 years ago

concat-sh-files v0.0.3

Weekly downloads
6
License
-
Repository
github
Last release
9 years ago

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

Examples/

Sources:

Feedback GitHub issues Join the chat at https://gitter.im/russianidiot/concat-sh-files.sh.cli GitHub followers