Hello all, My shell script takes a jpeg file as the input like this: myscript test.jpg.
After some processing I then create an empty file in a subdirectory named text like this: touch ../text/$1. The question is, how do I replace the suffix jpg with txt? In this case I want to end up with a file called test.txt. My initial efforts have centred around sed s/jpg/txt/ and mv but without success. -- Regards, Phil [EMAIL PROTECTED]
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
