awk '{print $NF}' prints the last field, but do I grep a path which is somewhere within each line that starts with a charecter //
for e.g., following line is one of the lines of my file. I need to just extract the path //mymachine/myfolder/mysubfolder
ignoring all other contents of each line.
None of the paths, or the text that follows or preceeds the path I want, are identical.
************** CODE **************
This does not exist. //mymachine/myfolder/mysubfolder {16th Mar 2005 Assigned by USER
************** CODE **************
for e.g., following line is one of the lines of my file. I need to just extract the path //mymachine/myfolder/mysubfolder
ignoring all other contents of each line.
None of the paths, or the text that follows or preceeds the path I want, are identical.
************** CODE **************
This does not exist. //mymachine/myfolder/mysubfolder {16th Mar 2005 Assigned by USER
************** CODE **************