mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-26 17:49:43 +00:00
tidy Bash script
This commit is contained in:
parent
cbc0f4191a
commit
cf9c57d242
@ -6,7 +6,7 @@ games=$(grep "," res/GAMES.CONF | grep -v "^#" | cut -d"," -f2 | cut -d"=" -f1 |
|
||||
cp res/GAMEHELP/STANDARD "$1"
|
||||
for c in {A..Z}; do
|
||||
echo "group$c"
|
||||
echo "$games" | grep "^$c" | while read -r game; do
|
||||
for game in $(echo "$games" | grep "^$c"); do
|
||||
echo "!byte ${#game}"
|
||||
echo "!text \"$game\""
|
||||
if [ -f "res/GAMEHELP/$game" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user