1. How to use getopts inside a Bash function

    Published Tue, March 18, 2014 by JJ

    As part of my quest to finish packaging up my Bash function that gets the updated weather in your Bash prompt, I needed to better organize my code, and so started putting some code into functions. Bash, however, is a fickle language, and the difficulty that quickly arose was using ...

    Tagged in: hackerschool, bash, getopts

Page 1 / 1