zzapper wrote:
Hi, How do I write a variable expansion which will remove a file extension eg fred.tex -> fred This is what I hacked:- zip=${file//\.[[:alnum:]]*/}
Hi,
This is what I hacked:- zip=${file//\.[[:alnum:]]*/}
How about: zip=${file%.*} -Dom