#!/bin/rc rfork en if(! ~ $#* 2 || ! test -r $1 || ! test -r $2){ echo usage: $0 file1 file2 >[1=2] exit usage } < $1 <[3] $2 >[2]/dev/null while(){ one = `' '{read} two = `' '{read <[0=3]} if(~ $one '' && ~ $two '') exit echo $one ' || ' $two }