Re: extracting information

From: John W. Krahn (krahnj_at_acm.org)
Date: 02/28/04


Date: Sat, 28 Feb 2004 00:54:23 GMT

Lars Roland wrote:
>
> I have a large collection of files where most of the information's are useless,
> what i want is to extract the information i need out of them and
> delete the rest.
>
> Eg. the files contain a line starting with:
>
> Information:
>
> What i want to do is to delete the rest of the file except the line
> starting with Information: - can this be done ???

perl -i -ne'print if /^Information:/' *

John

-- 
use Perl;
program
fulfillment


Relevant Pages

  • Re: Base Distinguished name
    ... Use of included script samples are subject to the terms specified at ... What I need is a simple VBScript or JScript that> will extract this information by only knowing the name of the> domain in the form of xxx.xxx.com. ... > What I am trying to do is set up Cognos Impromptu Web Reports. ... > The information in the Cognos documentation is fairly useless> because the authors apparently made the assumption that the whole> world would adapt their naming scheme and that having done so> their default settings would work everywhere. ...
    (microsoft.public.win2000.active_directory)
  • Re: Base Distinguished name
    ... "kstahl" wrote in message ... > Can someone tell me how to extract the Base Distinguished Name ... > What I am trying to do is set up Cognos Impromptu Web Reports. ... > The information in the Cognos documentation is fairly useless ...
    (microsoft.public.win2000.active_directory)
  • Re: Do they still make ONC/TPC charts?
    ... Except the only format I've found it in are PDF files, which are useless ... for trying to extract the data into a database. ...
    (rec.aviation.misc)
  • Base Distinguished name
    ... Can someone tell me how to extract the Base Distinguished Name ... What I need is a simple VBScript or JScript that ... What I am trying to do is set up Cognos Impromptu Web Reports. ... The information in the Cognos documentation is fairly useless ...
    (microsoft.public.win2000.active_directory)
  • RE: Does anyone read unanswered threads?
    ... Once you got to the page, there are a million ways to extract ... information, but opposite to navigating to the page by VBA, ... which is simple, but useless, extracting the information ...
    (microsoft.public.word.vba.beginners)