Hello I am trying to get the difference between to text files. There are a lot of differences and viewing them in terminal is making it volatile since I cannot save them. I want to view and save the diff. How would I catch the output and print it to a text file??
Code I am using for getting the diff is diff -i -w -B file1.txt file2.txt
Save to text file:
Write directly to printer:
Write saved text file to printer
‘Hope that helps .. PSM
PS:
Here’s a link on Linux command-line printing:
http://tldp.org/HOWTO/Printing-Usage-HOWTO-2.html