Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
eval_with_x() {
|
||||
set -- "`x=$2; eval "$1"`" "`x=$3; eval "$1"`"
|
||||
expr "$2" - "$1"
|
||||
}
|
||||
|
||||
eval_with_x '
|
||||
# compute 2 ** $x
|
||||
p=1
|
||||
while test $x -gt 0; do
|
||||
p=`expr $p \* 2`
|
||||
x=`expr $x - 1`
|
||||
done
|
||||
echo $p
|
||||
' 3 5
|
||||
# Prints '24'
|
||||
Loading…
Add table
Add a link
Reference in a new issue