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

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