ref: 9f2c2627f5f19da37f7b73f2389151d8348ed914
parent: a241f049df07dace706606dc573364f76e39eeb6
author: mid-kid <esteve.varela@gmail.com>
date: Thu Feb 13 10:42:28 EST 2020
Make tools/sort_symfile.sh case insensitive Development versions of rgblink now output lowercase
--- a/tools/sort_symfile.sh
+++ b/tools/sort_symfile.sh
@@ -4,10 +4,10 @@
-e "s/^..:[0-3]/0_ROM0@&/g" \
-e "s/^..:[4-7]/1_ROMX@&/g" \
-e "s/^..:[8-9]/2_VRAM@&/g" \
- -e "s/^..:[A-B]/3_SRAM@&/g" \
- -e "s/^00:[C-D]/4_WRAM0@&/g" \
- -e "s/^..:[D-D]/5_WRAMX@&/g" \
- -e "s/^..:[F-F]/6_HRAM@&/g" \
+ -e "s/^..:[A-Ba-b]/3_SRAM@&/g" \
+ -e "s/^00:[C-Dc-d]/4_WRAM0@&/g" \
+ -e "s/^..:[D-Dd-d]/5_WRAMX@&/g" \
+ -e "s/^..:[F-Ff-f]/6_HRAM@&/g" \
$1 \
| sort \
| sed -e "s/^.*@//g" > $TEMP_FILE