#!/bin/sh

# this simple script sequentially cycles through all possible
# timing trim values with some time delay.

awk '

BEGIN {

    TIME_DELAY = "sleep .010"
    CENT = 0
    MAX = CEN + 37
    MIN = CEN - 37

    while (1) {
	for (i = MIN; i <= MAX; i += 1) {
	    print "trim " i " 1 82 "
	    print TIME_DELAY
	}
	for (i = MAX; i >= MIN; i -= 1) {
	    print "trim " i " 1 82 "
	    print TIME_DELAY
	}
    }
}' | sh

