Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

9 lines
248 B

#!/bin/env bash
while [ $# -gt 0 ]; do
HEXFILE=$1
HEXFILE_STRINGS=$(echo "$HEXFILE" | sed 's/\.\w*$/_strings.txt/')
#Export strings from a hex file and sort them alphabetically.
strings "$HEXFILE" | sort > "$HEXFILE_STRINGS"
shift
done