URL
https://opencores.org/ocsvn/wdsp/wdsp/trunk
Subversion Repositories wdsp
[/] [wdsp/] [trunk/] [sw/] [utils/] [merge2srec] - Rev 5
Compare with Previous | Blame | View Log
#!/bin/sh
LINE_NB=`wc -l < $1`
MIN=`expr $LINE_NB - 1`
head -$MIN $1 > out.exo
cat $2 >> out.exo
tail -1 $1 >> out.exo