The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: Awk Command
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #25 (permalink)  
Old 01-14-2009
jroco jroco is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 13
Absolutely it's one of the best text processor AWK or GAWK whatever.

This is the correct sentences for your problem:

name="Mike Pathon"
echo $name | awk '{print "Hello Mr.", $2}'