Hello,
I need to remove the end of a line, so for this I think that sed will do the job but i didn't manage to do that.
here is a sample of my input:
Code:
/client/1388a/Screen Shot-21_10_2006.PNG
and I need to have an output like:
To summary's: I want to remove every thing which is after the last "/" of the line.
Here is what I use so far:
Code:
sed -e 's/[\ a-z0-9A-Z\.\_\-]*$//g'
but the space are not handled correctly