Re: Extract same text from file.
From: Tore Aursand (tore_at_aursand.no)
Date: 08/16/04
- Next message: Mark: "IPC::Shareable exceptionally slow on large segs"
- Previous message: Josef Moellers: "Re: Extract same text from file."
- In reply to: Ryan Keeling: "Extract same text from file."
- Next in thread: Abhinav: "Re: Extract same text from file."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 16 Aug 2004 12:06:10 +0200
On Mon, 16 Aug 2004 02:44:31 -0700, Ryan Keeling wrote:
> I have the following text file which I want to use to populate text
> files containing data only relevant to a particular project. Is it
> possible for me to group similar lines together and put them in their
> own text file? Such as a file containing all entries for
> MS102_PCP.Implementation and another file for MS102_PCP.Support.
>
> 2004:01:07:3:02:MS102_PCP:Belfast:Charge:PCP:Implementation:+:5.5
> 2004:01:07:3:02:MS102_PCP:Belfast:Charge:PCP:Support:+:2.0
> 2004:01:05:1:02:MS102_PCP:Belfast:Charge:PCP:Implementation:+:7.5
> [...]
Yes, it is _very_ possible. What have you tried so far? You want to look
into 'perldoc -f split', for example.
-- Tore Aursand <tore@aursand.no> "A teacher is never a giver of truth - he is a guide, a pointer to the truth that each student must find for himself. A good teacher is merely a catalyst." (Bruce Lee)
- Next message: Mark: "IPC::Shareable exceptionally slow on large segs"
- Previous message: Josef Moellers: "Re: Extract same text from file."
- In reply to: Ryan Keeling: "Extract same text from file."
- Next in thread: Abhinav: "Re: Extract same text from file."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|