The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 08-30-2008
gio001 gio001 is offline
Registered User
  
 

Join Date: Mar 2007
Posts: 70
I do not seem to be able to use this statement, I am on AIX with ksh88, I don't know about the usability of the <<<. Can you help with more advice?
I did not know you can send a string in input to awk, I thought awk only acts against files, please let me know.
cnt_elements=$(awk '{print NF}' <<< "$results")