相关代码 |
|
#! /bin/sh # test script for bhd # @(#)bhd.test 3.4 1/10/90 ESI # echo Testing bhd echo "0 1 3 4 6 7 9 2 3 444 123 453 -45 -234 0 -23" | testsd -a - - | \ copysd -dshort - - | bhd - - | od > test.out echo There should be no differences found by the following diff echo diff test.in test.out diff -b test.in test.out