On Fri, Sep 07, 2012 at 12:34:56AM -0700, David Haslam wrote:
> /One my friends recently asked:/
> 
> Do you know of any program that will load two text files (plain text or Word
> files) and display them interlinearly?
> 
> /Here's my reply:/
> 
> Not off hand, but here's an easy workaround using Excel.

Excel does not handle more than 65000 lines. May be Libreoffice have a
higher limit.

You can merge two file on the command line using for example Perl:

(put it on a single line)

perl -e 'open A,$ARGV[0]; open B,$ARGV[1]; while( <A> ) { print $_; print
"".<B>; }; print <B>;' file_a.txt file_b.txt > merge.txt

You can add a empty line between each:

perl -e 'open A,$ARGV[0]; open B,$ARGV[1]; while( <A> ) { print $_; print
"".<B>; print "\n"; }; print <B>;' file_a.txt file_b.txt > merge.txt


-- 
Seb, autocuiseur

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to