I want to compare 2 text files using Diff, grep, and sed.
First, How to write linux grep, sed, diff sentences in a php file or in a perl file?
Second, What is better? writing it in PHP file or Perl file? I want to call this script from PHP file.
Thank you.
