Question
Write the command that would find all lines that have an email address and place a label email = before the line in the file
Write the command that would find all lines that have an email address and place a label email = before the line in the file longfile
output will multiple lines similar to this one :
email= Message-Id: 199801232015.MAA21444@mail-gw2.pacbell.net
NOTE: this will be a long listing. The line above would not be a good example since 199801232015.MAA21444@mail-gw2.pacbell.netwould not be a valid email address. You would be searching for lines with the words from: to: Cc:, usually after these characters, there could be a good, valid e-mail address.
I need to use an awk command and on Putty (Unix/Linux)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started