concatenate string with in a comma delimited file
have a few questions here.
I have a comma delimited file that contains several lines like:
Deploy_ up to the first comma(,) then strip off the 'Deploy_' and the '_Production' then concatenate the result to the third string in the same line. I have found the method to accomplish the separation and selection:
resulting line evaluated line:
another hanging issue is detecting the existence of a value in the third string anything prior to the _2012.08.141; remove the value prior to the '_' and replace with the value from the first string 'sysid' as some are not correct or in proper case.
hope this makes sense. thank you.
This is a bash solution that I think meets your requirements.
well, thank you very much. That works great.
I had a few questions to understand the script but after performing some searches, I found the answers.
I greatly appreciate the assistance. I constantly am learning new methods and am amazed by what one can accomplish with linux. Plus, the online community support is much better than most believe nor care to understand the benefit.
|All times are GMT -5. The time now is 07:05 PM.|