mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 16:20:19 +01:00
12 lines
197 B
Bash
Executable file
12 lines
197 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
echo "Taking $1!"
|
|
mkdir -p ~/inventory
|
|
mv "$1" ~/inventory
|
|
|
|
X=50
|
|
for file in ~/inventory/*; do
|
|
echo "x = $X" > $file
|
|
echo "y = 50" >> $file
|
|
X=$(expr $X + 100)
|
|
done
|