|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 470 (0x1d6) Types: TextFile Names: »compair«
└─⟦87ddcff64⟧ Bits:30001253 CPHDIST85 Tape, 1985 Autumn Conference Copenhagen └─ ⟦this⟧ »cph85dist/stat/scripts/compair«
#!/bin/sh # # compare all pairs of variables using pair data=$1 if test ! -s $data then echo ▶07◀$0: "No data file ($data) or empty data file" exit 1 fi shift ci=1 for i do cj=1 for j do if test $ci != $cj then dm s$ci s$cj < $data | pair -ps -x $i -y $j | pr -h "Variables $ci ($i) and $cj ($j) in file $data" else dm s$ci < $data | desc -soh | pr -h "Variable $ci ($i) in file $data" fi; cj=`echo $cj+1 | bc` done ci=`echo $ci+1 | bc` done