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 -->
  #5 (permalink)  
Old 06-03-2009
cbo0485 cbo0485 is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 87
Quote:
Originally Posted by cbo0485 View Post
I understand the {dir//.\//} removes the leading ./, but what would that need to be changed to when I'm searching for a file to remove the file name and the leading ./?
Forgot to mention it but I'm using SLES with Bash shell.