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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [utils/] [merge2srec] - Rev 37

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.