Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 725 Bytes

shellscript-tips.md

File metadata and controls

40 lines (27 loc) · 725 Bytes

Shellscript-tips

好用工具

  1. 語法檢查 - shellcheck

    https://github.com/koalaman/shellcheck
    
  2. 腳本測試 - shunit2

    https://github.com/zandev/shunit2
    
  3. 腳本解釋 - explainshell

    https://github.com/idank/explainshell
    
  4. 結合 travis-ci,使用 shellcheck 自動檢查語法

    https://github.com/caarlos0/shell-travis-build
    
  5. vim plugin - bash support

    https://github.com/vim-scripts/bash-support.vim
    

research to-dos

* bfw: bash firewall	rcpoison/bfw
* bash works	jpic/bashworks
* Bashinator: Bash Shell Script Framework	wschlich/bashinator
* libbash: bashing for the masses 	Wizcorp/libbash