Skip to content

Commit

Permalink
fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
redpeacock78 committed Dec 4, 2018
1 parent 2f3b644 commit c79f043
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sushiro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
# sushiro 0.0.3
# sushiro 0.0.4
# (C) 2018 redpeacock78
# GPLv3 is applied to this script

Expand All @@ -22,7 +22,7 @@

###USAGE###
[[ "${1}" = "-h" ]] && \
printf "sushiro version 0.0.3\n\nUSAGE: sushiro [OPTIONS] [ANYTHING]\nOptions:\n -l NUMBER\n Randomly display the number of specified menus\n (By default it display one item)\n -p MENU_NAME\n Display price of menu corresponding to name\n -k MENU_NAME\n Display the calorie of the name corresponding menu\n -a\n Display names of all menus\n -f\n Fetch menus from www.akindo-sushiro.co.jp\n" && \
printf "sushiro version 0.0.4\n\nUSAGE: sushiro [OPTIONS] [ANYTHING]\nOptions:\n -l NUMBER\n Randomly display the number of specified menus\n (By default it display one item)\n -p MENU_NAME\n Display price of menu corresponding to name\n -k MENU_NAME\n Display the calorie of the name corresponding menu\n -a\n Display names of all menus\n -f\n Fetch menus from www.akindo-sushiro.co.jp\n" && \
exit 0


Expand Down Expand Up @@ -78,7 +78,7 @@ while [[ "${#}" -gt 0 ]]; do
| sed 's/,倍/倍/' \
| grep "${PRICES}" \
| awk -F ',' '{print $1,$2}' \
| sed 's/倍とろ//' \
| sed 's/倍とろ$//' \
| grep "\S"
##MENUS_CALORIES##
elif [[ "${1}" = "-k" ]]; then
Expand Down

0 comments on commit c79f043

Please sign in to comment.