Greetings fellow holy men.
I have a big problem, which tests my faith. Help me find the right path of Perl.
The Problem is this: I'm am getting this out of our IBM provided TSM system (It's a backup system). I need to process the information back to one of my databases. I started using Perl 1 year ago, and it has been great. But now I have been hit by a nut I can't crack.
A00002 \\a00002\c$ 2 WinNT NTFS Yes 73,626MB 42.5
A00003 / 1 Linux86 EXT3 No 38,289MB 29.8
A00004 \Sys- 1 WinNT VSS Yes 0 KB 0.0
In the line with A00004 the second column is broken up where the - sign is. Is there a way to fix this using regex?
So I end up with something that looks like this
A00004 \SystemState\NULL\System 1 WinNT VSS Yes 0 KB 0.0
The original document contains about 800-900 lines.
Also please keep in mind that I'm a newbie at perl so writing the solution using simple answers such as "ju