Guest_imported
New member
- Jan 1, 1970
- 0
Hi, sorry to be asking you again, but I want to cut the file names extensions or main part. is sed suitable for this? ie i want to cut fred.doc to fred, or doc
i have tried
echo $file | sed 's/*\.//' and
echo $file | sed 's/\.*//'
but it wont work, any ideas?
cheers, brian
i have tried
echo $file | sed 's/*\.//' and
echo $file | sed 's/\.*//'
but it wont work, any ideas?
cheers, brian