Find the answer to your Linux question:
Results 1 to 2 of 2
Hey guys, Knowing what I want to do I realize I am in way over my head and it will take someone very generous to help me out. So what ...
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    1

    Scripting Help for Hamachi Status

    Hey guys,

    Knowing what I want to do I realize I am in way over my head and it will take someone very generous to help me out. So what I am trying to do is...

    Typing the command "./hamachi list > export.txt" results in export.txt containing...
    * [Close Combat Series]
    * 5.165.209.219 MOOXE 74.22.10.120:9865

    I want to replace the 2nd line beginning of "* 5" with "http://my.hamachi.cc/status/image.php?5.165.209.219"

    Once the replacement is done this file is to be executable via the web. The resulting image that is displayed from that URL should be displayed next to the nickname MOOXE on a website.

    Thats it, not so easy. My 1st road block is using SED. I cannot seem to get it to work because of the /'s in the url.

    Any advice out there?

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    I have no idea what you want.
    You can use Perl to do this?
    Perl + wget + curl?

    Hope that kinda helped a little.

    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...