aquamarine/data/hwdata.sh

9 lines
135 B
Bash
Executable File

#!/bin/sh
while read -r id vendor; do
[ "${#id}" = 3 ] || exit 1
printf "\t__AQ_PNP_PROP(\"%s\", \"%s\"),\n" "$id" "$vendor"
done