1#!/usr/bin/env sh 2 3if [ $# -ne 2 ]; then 4 echo "$0 need 2 parameters, but the actual number is $#, please check!" 5 exit 1 6fi 7 8rm -f $2 9 10cp $1 $2 11 12sed -n -e s/__NR_/SYS_/p < $1 >> $2 13