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

Subversion Repositories amber

[/] [amber/] [trunk/] [hw/] [fpga/] [bin/] [increment_seed.sh] - Diff between revs 2 and 77

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 77
Line 1... Line 1...
#/bin/sh -f
#/bin/sh -f
# Simple script to increment a number in a file
# Simple script to increment a number in a file
NUM=`cat $1`
NUM=`cat $1`
NUM=$(($NUM + 1 ))
NUM=$(($NUM + 2 ))
echo $NUM > $1
echo $NUM > $1
echo $NUM
echo $NUM
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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