The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 -->
  #4 (permalink)  
Old 12-28-2008
kazazza kazazza is offline
Registered User
  
 

Join Date: Dec 2008
Posts: 9
Hmmm, ive just asked a friend and he reckons its meant to be something like this:

echo "Please enter your full name:"
read name
echo "$name | awk'{print"Hello Mr.", $2}

This doesnt actually work, but am i on the right lines? im not trying to split a file, just the string.

Is that wrong then? Thanks v. much for the quick reply.