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 -->
  #1 (permalink)  
Old 09-18-2007
lpelo2000 lpelo2000 is offline
Registered User
  
 

Join Date: Aug 2007
Location: Sesto San Giovanni
Posts: 3
Problem wind find file

Hello,
I have a problem. I use the following istruction:
ls -lrt Invoice_Line_Items* | awk '{print $9}' > ${lflfile_list}

for insert the name by all file the start with "Invoice_Line_Items", but when the directory don't have this file I have the following messagge error:
"0653-341 The file Invoice_Line_Items* does not exist" and the script don't finish with error. It's possible don't get out messagge?

Thanks for the information,
Luca

PS: I use Korn shell in and the machine is IBM AIX 5L.