Created
January 24, 2024 09:20
-
-
Save fjrti/1ede4493253609ffb12e89ee65dc0c3a 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 | |
while getopts n:c: option | |
do | |
case "${option}" | |
in | |
n)nation=${OPTARG};; | |
c)code=${OPTARG};; | |
esac | |
done | |
echo "Nation : $nation" | |
echo "code : $code" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment