Scripting Problem

redhat_at_chamkila.org
Date: 04/29/04

  • Next message: Cowles, Steve: "RE: email problem"
    Date: Wed, 28 Apr 2004 18:51:08 -0700 (PDT)
    To: redhat-list@redhat.com
    
    

    Hello Guys,

    I need some help and thought someone on this list might know. I am trying
    to do some scripting but am running into the following problem:

    I have a file that contains a bunch of the following entries:

    trusty.F.0038 02/11/02
    trusty.F.0058 04/11/04
    trusty.F.0063 05/12/02
    trusty.F.0064 05/13/02
    trusty.F.0178 04/21/04
    trusty.F.0183 09/30/02
    trusty.F.0276 04/04/04
    .....

    I would like to take out entries that match 04/xx/04 (xx does not matter)
    and dump them to a different file. In this case 58, 178 and 276. I am
    unable to do this with awk. Anyone know of a way I can do this using
    csh??

    Thanks in advance

    ---------------
    We learn not in the school, but in life. - Lucius Annaeus Seneca, c. 4 BC - AD 65

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Cowles, Steve: "RE: email problem"

    Relevant Pages

    • Scripting Problem
      ... to do some scripting but am running into the following problem: ... I would like to take out entries that match 04/xx/04 ... unable to do this with awk. ...
      (SunManagers)
    • Re: Windows Hotfix question
      ... > Windows 'Hotfix' entries, all of which are noted as not taking up any MB, ... Remove Hotfix Backup files and the Add/Remove Programs Registry Entries ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
      (microsoft.public.windowsxp.general)
    • Re: What do you think of registry mechanic?
      ... say Registry Mechanic is as good a product of the type as any. ... Even although I do use System Mechanic to remove redundant entries in the ... problem but I also use ERUNT to backup the Registry as I believe everyone ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
      (microsoft.public.windowsxp.general)
    • Re: URGENT!!! Removeing entries inside a key?
      ... > I was wondeirng how I would go about removeing certain entries inside a key? ... sRegValueData = oShell.RegRead ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
      (microsoft.public.win2000.registry)
    • Re: Corrupt WindowsUpdate registry
      ... > entries per folder in the WindowsUpdate directory. ... > I've been trying to reinstall Service Pack 2 after a Repair which rendered ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
      (microsoft.public.windowsupdate)