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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [utils/] [merge2srec] - Rev 402

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.