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 -->
  #3 (permalink)  
Old 12-04-2008
Arunprasad Arunprasad is offline
Registered User
  
 

Join Date: Aug 2008
Location: syn chen
Posts: 73
the below is the statement in my script.

1. read -r variable < /path/file.txt
finalvar=${variable##*_}

2. MYNAME=${0##*/};

please let me know what it is actually doing.