Seperate fields in File

From: Moritz Fromwald (mfromwald_at_gmx.at)
Date: 06/30/03

  • Next message: Chris Dillon: "Re: tree-based quotas for UFS/UFS2?"
    To: freebsd-questions@freebsd.org
    Date: Mon, 30 Jun 2003 19:43:33 +0200
    
    

    Hello all,
    I have a text file, which contains several data sets, separated
    by a particular string ("-------.*=.*--")
    I need to write a script, which processes each of these data sets
    Can anyone push me in the right direction?

    Is it possible to simplify the following command in several lines
    run=`cat HI*.PM | grep -e '0,0' | grep 'Massenmails' | awk -F ','
    {'print $3'} | awk -F ':' {'print $3'} | awk -F '\"' {'print
    $1'}`

    TIA & greez

    moritz fromwald

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Chris Dillon: "Re: tree-based quotas for UFS/UFS2?"

    Relevant Pages

    • Re: Deploying Red Hat Workstations
      ... > can easily make changes to the workstations all at once. ... Have the central server push out to each host. ... > This script will contain any changes that I need to make. ... I would automate SCP from the server to a user account (not ...
      (Fedora)
    • Re: convert to vbs
      ... I use this script exclusively from log in scripts. ... Set oWS = Nothing ...
      (microsoft.public.scripting.vbscript)
    • RE: forwarding logs
      ... Same with another script. ... >> You should not need to cange anything in the log script itself. ... >> Reuben D. Budiardja ...
      (RedHat)
    • RE: forwarding logs
      ... Same with another script. ... >> You should not need to cange anything in the log script itself. ... >> Reuben D. Budiardja ...
      (RedHat)
    • Re: ShortCut in desktop through Logon Script
      ... Here's a generic "Push to Desktop" script I wrote a while back. ... Just pass it the full path of the file you want to push out as the first command line parameter. ... Dim bDebug, sFile, sDest ... Set oWS = Nothing ...
      (microsoft.public.scripting.vbscript)