we have two files .if some lines of file1 is containing some lines of file2 then we should print those lines of file1 . file1 contains 1.he is man 2.don't you 3.what goes on Another file contains: 1.he is 2.what are 3.try to do output should be he is man what goes on
In reply to partial matching of lines in perl by Sidd@786
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |