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 -->
  #12 (permalink)  
Old 12-30-2008
Gayucvns Gayucvns is offline
Registered User
  
 

Join Date: Dec 2008
Posts: 10
Hi,

the awk command is very useful to print the last name. only the syntax matters. Jst try with this
echo $name | awk '{print "Hello Mr." $2}'