Initial commit
This commit is contained in:
9
bash/error-handling/error_handling.sh
Normal file
9
bash/error-handling/error_handling.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if (( $# == 1 )); then
|
||||
name="$1"
|
||||
echo "Hello, ${name}"
|
||||
else
|
||||
echo "Usage: error_handling.sh <person>"
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user