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




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 03-04-2008
ricky007 ricky007 is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 9
How do I differentiate file name extensions.
see both file nane starts with file1, but the extensions are diff.
file1.xxx
file1.bcd00xxx

so while read should I put file1.*
and then second file file1.bcd*

also I am getting error:

[13]: dirfile2: cannot open

Thanks

Last edited by ricky007; 03-05-2008 at 12:40 PM..