I am learning sed / grep working and am stuck with a problem
Hi, I recently started learning sed/grep commands; that are required for me to work better..
Now my problemmme is this:-
I have 2 files that have contents in these two formats:-
"From x.rar/Vee/six.jpg" "SM/ded/.." "SMW"
"From x.rar/Vee/six.jpg" "SM/ded/.."
I want my sed command to delete anything afterthe 1st space i.e.
desired o/p for both the cases is
Can anyone tell me how to do this??
I am a beginner so any help on this would be much appreciated!