markmulligansr
MIS
If I have a variable with the values shown below, how do I parse out each path from this variable? The variable will have any where from 1 to n paths. I need to parse through and change directories to each path and perform some work. I know how to do the work but not how to parse this information out of this variable. Thanks in advance. Mark
Path="/dbawork/logarchmeth1/edwr02/EDWR02/NODE0000/C0000000
/dbawork/logarchmeth1/edwr02/EDWR02/NODE0001/C0000000
/dbawork/logarchmeth1/edwr02/EDWR02/NODE0002/C0000000
/dbawork/logarchmeth1/edwr02/EDWR02/NODE0003/C0000000
/dbawork/logarchmeth1/edwr02/EDWR02/NODE0004/C0000000
/dbawork/logarchmeth2/edwr02/EDWR02/NODE0000/C0000000
/dbawork/logarchmeth2/edwr02/EDWR02/NODE0001/C0000000
/dbawork/logarchmeth2/edwr02/EDWR02/NODE0002/C0000000
/dbawork/logarchmeth2/edwr02/EDWR02/NODE0003/C0000000
/dbawork/logarchmeth2/edwr02/EDWR02/NODE0004/C0000000"
Path="/dbawork/logarchmeth1/edwr02/EDWR02/NODE0000/C0000000
/dbawork/logarchmeth1/edwr02/EDWR02/NODE0001/C0000000
/dbawork/logarchmeth1/edwr02/EDWR02/NODE0002/C0000000
/dbawork/logarchmeth1/edwr02/EDWR02/NODE0003/C0000000
/dbawork/logarchmeth1/edwr02/EDWR02/NODE0004/C0000000
/dbawork/logarchmeth2/edwr02/EDWR02/NODE0000/C0000000
/dbawork/logarchmeth2/edwr02/EDWR02/NODE0001/C0000000
/dbawork/logarchmeth2/edwr02/EDWR02/NODE0002/C0000000
/dbawork/logarchmeth2/edwr02/EDWR02/NODE0003/C0000000
/dbawork/logarchmeth2/edwr02/EDWR02/NODE0004/C0000000"