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 -->
  #4 (permalink)  
Old 12-04-2008
Autocross.US's Avatar
Autocross.US Autocross.US is offline
Registered User
  
 

Join Date: Nov 2008
Location: Chesapeake, VA
Posts: 73
They are pattern matching arguments used to strip off certain portions of a string from either the front or end of the string.

Example:

Code:
$ >  STRING=this_test_string
$ >  echo ${STRING##*_}
string

$ >  DIR=/home/user1/test
$ > echo ${DIR##*/}
test