converting line input into columns
- From: vanagas99@xxxxxxxxx
- Date: 8 Jul 2006 07:29:50 -0700
hi,
I have a file with formatted output like this:
Severity: Important
Status: Unknown
PDI ID: 1895
Finding Details
This vulnerability... blah, blah, blah
Vulnerability Discussion
blah, blah, blah text
Fix recommendations
blah, blah, blah text
Please advice on how to parse such a file allowing me to put it in a
column type format. As you can see, can't use : as a separator since
not all categories have it. Plus, some of the details of these
categories are plopped in a separate line instead off next to it. Best
way would probably be to put all of it in one tab seberated line
(cleaning out severity, status, etc. later) I just dont know how to do
that. Please advice.,
Thanks,
AV
.
- Follow-Ups:
- Re: converting line input into columns
- From: Dr.Ruud
- Re: converting line input into columns
- From: John W. Krahn
- Re: converting line input into columns
- From: Mumia W.
- Re: converting line input into columns
- From: A. Sinan Unur
- Re: converting line input into columns
- Prev by Date: Using References to Formats?
- Next by Date: Re: Get the reference to an array from a function...
- Previous by thread: Using References to Formats?
- Next by thread: Re: converting line input into columns
- Index(es):
Relevant Pages
|