Compare commits
No commits in common. "f1838f2ad01d29e2c915e0c80fa8556456fc8476" and "91fc04133e8713b803361e66c2ad54c1ce7bf33e" have entirely different histories.
f1838f2ad0
...
91fc04133e
13
README.md
13
README.md
|
@ -22,19 +22,6 @@ Notes:
|
||||||
Water may also be used in place of beer
|
Water may also be used in place of beer
|
||||||
Try adding your choice of spices and/or herbs into the dough for more flavor
|
Try adding your choice of spices and/or herbs into the dough for more flavor
|
||||||
```
|
```
|
||||||
|
|
||||||
### Installation
|
|
||||||
As mentioned at the beginning of this file, `bc` is a requirement to running, along with a few other common shell utilities.
|
|
||||||
While it is possible to simply clone this git repositiory and simply run `./pizza.sh`, one might be interested in a system wide installation.
|
|
||||||
In that case, the recommended install instructions are as follows:
|
|
||||||
```
|
|
||||||
sudo su
|
|
||||||
cd /usr/local/share/
|
|
||||||
git clone https://git.skeh.site/ida/pizzacalc.git
|
|
||||||
ln -s /usr/local/share/pizzacalc/pizza.sh /usr/local/bin/pizza
|
|
||||||
```
|
|
||||||
(Most GNU/Linux distributions will already have /usr/local/bin/ in their paths.)
|
|
||||||
|
|
||||||
### Recipe (specifically for -r quick)
|
### Recipe (specifically for -r quick)
|
||||||
```
|
```
|
||||||
How to make the quick calculator pizza, standmixer edition:
|
How to make the quick calculator pizza, standmixer edition:
|
||||||
|
|
7
pizza.sh
7
pizza.sh
|
@ -137,14 +137,13 @@ case $1 in # this parses the first argument (and actually calls our main functio
|
||||||
DFSI="$FSI"
|
DFSI="$FSI"
|
||||||
fi
|
fi
|
||||||
read -p "Flour per square inch [$DFSI]: " FSI
|
read -p "Flour per square inch [$DFSI]: " FSI
|
||||||
case "$DIME" in
|
case $DIME in
|
||||||
+([0-9])?(.)*([0-9])x+([0-9])?(.)*([0-9]))
|
+([0-9])?(.)*([0-9])x+([0-9])?(.)*([0-9]))
|
||||||
WIDTH=$(echo "$DIME" | cut -d "x" -f 1)
|
WIDTH=$(echo $DIME | cut -d "x" -f 1)
|
||||||
LENGTH=$(echo "$DIME" | cut -d "x" -f 2)
|
LENGTH=$(echo $DIME | cut -d "x" -f 2)
|
||||||
SQUAREPAN=y
|
SQUAREPAN=y
|
||||||
panarea;;
|
panarea;;
|
||||||
+([0-9])?(.)*([0-9]))
|
+([0-9])?(.)*([0-9]))
|
||||||
WIDTH="$DIME"
|
|
||||||
SQUAREPAN=n
|
SQUAREPAN=n
|
||||||
panarea;;
|
panarea;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue