/ Published in: Bash
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/bash while [ "$#" -gt 0 ] do case $1 in -h | --help) echo "Show program help for $(basename $0)" shift ;; -l | --list) echo "List the options" shift ;; *) echo "Other options" shift ;; esac done
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)