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

Subversion Repositories amber

[/] [amber/] [trunk/] [hw/] [fpga/] [bin/] [increment_seed.sh] - Blame information for rev 86

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

Line No. Rev Author Line
1 2 csantifort
#/bin/sh -f
2
# Simple script to increment a number in a file
3
NUM=`cat $1`
4 77 csantifort
NUM=$(($NUM + 2 ))
5 2 csantifort
echo $NUM > $1
6
echo $NUM

powered by: WebSVN 2.1.0

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