The UNIX and Linux Forums  


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




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 03-11-2009
Corona688 Corona688 is online now
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,965
Could you do the trimming in the shell itself, i.e.

Code:
"${VARIABLE:0:64}"

for the first 64 letters, instead of letting the command choose the eventual name? That way you'd know exactly what it is. You may need to use basename also, to get the filename itself without potentially stripping off directories...