#!/bin/sh exec >keycodes function define { eval echo $1=$(printf %d $2) } eval "$(sed -n 's/#define/define/p' <../../input_linux.txt)"