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 -->
  #6 (permalink)  
Old 10-02-2006
braindrain braindrain is offline
Registered User
  
 

Join Date: Jul 2005
Posts: 67
Excellent !! Thanks,

Small question,

In the statement, what does %/* infer to,
$echo ${var%/*}

I have come across
${var-nvar} if var unassigned return nvar, ${var+nvar}, if var assigned returned nvar. But could you tell me the signifcance of %/* pls ?,
Thanks

Last edited by braindrain; 10-02-2006 at 05:29 AM..