Created
July 29, 2022 15:48
-
-
Save yangziy/0ed5789d108534a14cd322c62e118dea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
interactive= | |
filename=~/sysinfo_page.html | |
while [ "$1" != "" ]; do | |
case $1 in | |
-f | --file ) shift | |
filename="$1" | |
;; | |
-i | --interactive ) interactive=1 | |
;; | |
-h | --help ) usage | |
exit | |
;; | |
* ) usage | |
exit 1 | |
esac | |
shift | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment