mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-12-26 20:33:20 +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
|