URL
https://opencores.org/ocsvn/wdsp/wdsp/trunk
[/] [wdsp/] [trunk/] [sw/] [utils/] [merge2srec] - Blame information for rev 5
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
5 |
parrado |
#!/bin/sh
|
2 |
|
|
|
3 |
|
|
LINE_NB=`wc -l < $1`
|
4 |
|
|
MIN=`expr $LINE_NB - 1`
|
5 |
|
|
|
6 |
|
|
head -$MIN $1 > out.exo
|
7 |
|
|
|
8 |
|
|
cat $2 >> out.exo
|
9 |
|
|
tail -1 $1 >> out.exo
|
10 |
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.