Development Tools

How to print matching lines in grep

Updated 15 years ago

About How to print matching lines in grep

How to print matching lines in grep

You have 2 files and if you wants to print the matching line from one file to another use below command.

cat a.txt | while read i ; do grep “$i” b.txt ; done;

Key Features

Fast Performance

Optimized for speed and efficiency

Secure & Safe

Built with security in mind

Cross-Platform

Available on all major platforms

Customizable

Personalize to fit your needs

System Requirements

Download Options

Important: Always download software from official sources. Scan downloaded files with antivirus software before installation.
Published Apr 03, 2011
Last Updated Apr 03, 2011