Skip to content

Commit c79f043

Browse files
committed
fix.
1 parent 2f3b644 commit c79f043

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sushiro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# sushiro 0.0.3
3+
# sushiro 0.0.4
44
# (C) 2018 redpeacock78
55
# GPLv3 is applied to this script
66

@@ -22,7 +22,7 @@
2222

2323
###USAGE###
2424
[[ "${1}" = "-h" ]] && \
25-
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" && \
25+
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" && \
2626
exit 0
2727

2828

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

0 commit comments

Comments
 (0)