Thanks to all for their prompt response. The list is big but to name a few: Michael DeSimone Stephen Barnett Eric Noriega ChinTu Jonel Rienton Crist Clark Wanderley Alex Carlos Rodriguez The solution is: cat filename |awk -F\" '{print "\""$2"\""}' Special Thanks to Michael DeSimone who helped me in fixing my script as well. My original question was 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 _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Dec 16 14:30:14 2004
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:41 EST