Loading ...
Sorry, an error occurred while loading the content.
 

Re: [Clip] deleting data columns in a text file

Expand Messages
  • sisterscape
    There are many ways to skin a cat, as they say. The NoteTab part was fast. It was the DNS lookup that took time - 1000 entries + dialup = painful ;) Just for
    Message 1 of 5 , May 11, 2008
      There are many ways to skin a cat, as they say.

      The NoteTab part was fast. It was the DNS lookup that took time - 1000
      entries + dialup = painful ;)

      Just for completeness, here's the terminal command (for Linux) I used
      to get the info. Input is a file of one IP per line and output goes to
      a text file on my Desktop:

      nslookup < xxxxx.txt > ~/Desktop/yyyyy.txt

      Sister

      --- buralex@... wrote:

      > Sister:
      > ^!replace "^([\d\.]+).*" >> "" rwsai
      > and it would have been done before you could switch from Notetab to
      > your
      > email client <grin>
      >
      > sisterscape <sisterscape@...> said on May 11, 2008 0:06 -0400
      > (in
      > part):
      > > THANK YOU! Processing as I write. :)
      > >
      > >
      > > --- loro <loro-spam01-@...> wrote:
      > >
      > >
      > >> > sisterscape wrote:
      > >>
      > >>> > >I need to create a file of IP addresses, one per line. The
      > logs are
      > >>>
      > >> > in
      > >>
      > >>> > >this format:
      > >>> > >
      > >>> > >204.11.191.49 39 121 775.53 KB 08 May 2008 -
      > 11:03
      > >>> > >218.85.139.184 36 36 656.83 KB 07 May 2008 -
      > 13:58
      > >>> > >etc.
      > >>> > >
      > >>> > >I would like to delete everything but the IP address at the
      > >>>
      > >> > beginning
      > >>
      > >>> > >of the line:
      >
      > Regards ... Alec -- buralex-gmail
      > --
      >
      >
      >
      > [Non-text portions of this message have been removed]
      >
      >
      > ------------------------------------
      >
      > Fookes Software: http://www.fookes.com/
      > NoteTab website: http://www.notetab.com/
      > NoteTab Discussion Lists: http://www.notetab.com/groups.php
      >
      > ***
      > Yahoo! Groups Links
      >
      >
      >
      >



      ____________________________________________________________________________________
      Be a better friend, newshound, and
      know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
    Your message has been successfully submitted and would be delivered to recipients shortly.