modified and updated
This commit is contained in:
parent
44e766514e
commit
6ff1894732
6 changed files with 674 additions and 7 deletions
|
@ -1,8 +1,6 @@
|
|||
read -p "Enter a number: " num
|
||||
if [[ $num -gt 10 ]]; then
|
||||
echo "Number is greater than 10"
|
||||
elif [[ $num -eq 10 ]]; then
|
||||
echo "Number is exactly 10"
|
||||
else
|
||||
echo "Number is less than 10"
|
||||
if [[ $# -lt 3 ]]; then
|
||||
echo "Usage: $0 <filename1> <filename2>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue