OpenCores
URL https://opencores.org/ocsvn/wdsp/wdsp/trunk

Subversion Repositories wdsp

[/] [wdsp/] [trunk/] [sw/] [utils/] [merge2srec] - Rev 6

Go to most recent revision | 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

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.