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 > Shell Programming and Scripting
.
google unix.com




Thread: printf command
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-07-2002
gsatch gsatch is offline
Registered User
  
 

Join Date: Jun 2002
Location: Irvine, CA
Posts: 21
Try adding the line:

IFS=""

to your script. This will reset the International Field Seperator such that it will no longer include blanks. I tried this here and it worked fine.