Sunday, February 12, 2006

${filename%.*} Extracting the filename by stripping off the file extension

$ FN="filename.jsp
$ echo ${FN%.*}
filename

0 Comments:

Post a Comment

<< Home