Subj : Text Compare To : Deuce From : Angus Mcleod Date : Wed Feb 02 2005 01:09 pm Re: Text Compare By: Deuce to Angus Mcleod on Wed Feb 02 2005 01:23:00 > print "$line1\n$line2\nUse modifed (second) line? "; if(=~/^[Yy]/) > {$newline=$line2} else {$newline=$line1}; 1) The "line" may actually be several lines long, which (very) slightly complicates the issue. 2) The merged file was al;ready going to STDOUT so you force me to use STDERR for the dialogue. 3) It isn't any difficulty in the coding that I dislike, but rather the "uncleanliness" of the need to talk to a human! --- þ Synchronet þ Great programs on the Synchronet Channel at The ANJO BBS .