Shell Script Help

From: Bhavesh Shah (bshah@citadon.com)
Date: Wed Dec 15 2004 - 17:56:19 EST


Hi Gurus,

Sorry to be off the topic. I need help with shell script.

I have some files with following lines:

cp /PATH/filename "PATH2/PATH 3/file name"

If I need to extract only "PATH2/PATH 3/file name" to a separate file.
How can achieve this? I tried using awk but because of spaces in quotes
e.g. PATH 3 I am able to extract only

"PATH2/PATH instead of complete "PATH2/PATH 3/file name"

Any help/pointer greatly appreciated

Regards

B
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:52 EDT