Move under www to ease rsync
This commit is contained in:
16
www/eps/hpr2639/hpr2639_bash9_ex1.sh
Executable file
16
www/eps/hpr2639/hpr2639_bash9_ex1.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# Demonstration of the arithmetic expressions as tests
|
||||
#
|
||||
|
||||
for i in {-3..3}; do
|
||||
echo -n "$i: "
|
||||
if ((i)); then
|
||||
echo "$? true"
|
||||
else
|
||||
echo "$? false"
|
||||
fi
|
||||
done
|
||||
|
||||
exit
|
||||
Reference in New Issue
Block a user