Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. samdaman

    Non unique Duplicate entries deletion. Sorry bad subject in last post

    Thanks ICRF it worked like a treat If ur still trying to see the light, i guess I havent left the dark ages yet. Thanks again Sam
  2. samdaman

    Q

    Sorry I must have deleted the subject line before submitting post. If someone can, please delete this entry as i have added it again. Or if I can, please let me know how, but cant see that Thanks Sam
  3. samdaman

    Non unique Duplicate entries deletion. Sorry bad subject in last post

    samdaman (TechnicalUser) May 16, 2003 Hi. I am a newbie (as you will all see in a moment). I have a text file example Dialer129 Dialer195 Dialer303 Dialer145 Dialer201 Dialer145;;0239028;;10;;10;;8 And I need to do the following If a dialer number appears twice, delete the one that does...
  4. samdaman

    Q

    Hi. I am a newbie (as you will all see in a moment). I have a text file example Dialer129 Dialer195 Dialer303 Dialer145 Dialer201 Dialer145;;0239028;;10;;10;;8 And I need to do the following If a dialer number appears twice, delete the one that does not have any extra information, so as in...
  5. samdaman

    perl exe compiler closes my cmd window

    doh!! thanks mike ill remember this for next time. Kind regards Sam
  6. samdaman

    perl exe compiler closes my cmd window

    The compiler I am using is from Indigostar. I have also made a batchfile to run the exe from a cmd prompt with the pause line which works, but if possible can it be done without the batch file? Thanks and kind regards Sam
  7. samdaman

    perl exe compiler closes my cmd window

    Hi there I have hopefully a small problem. I have successfully compiled my perl script to an exe file. The only problem is, my output to screen disappears after 2 seconds, and I need it to stay open until the user "pushes any key". I have tried adding lines in my script to keep the...
  8. samdaman

    replacing strings from one file into another

    Hi Barbie So I have incorporated this into my script now (at the bottom) A summary is that this script takes an output from a cisco router and saves it to a file called cismultilink.txt. Then the script you helped me create takes the output from this file and then does the substition. My...
  9. samdaman

    replacing strings from one file into another

    Your a star it works really well. I guessed the answer was something like this, and had tried lots of matching operations. When nothing seemed to work, I added the @lines. Thanks very much Kind regards Sam
  10. samdaman

    replacing strings from one file into another

    Here is what I have tried so far, but either I get the same result as before, or it does not match anything. Kind regards Sam open (SOUT, &quot;<cismultilink.txt&quot;) or die &quot;cant open cismultilink.txt: $!&quot;; open (NOUT, &quot;+>named_output.txt&quot;) or die &quot;cant open...
  11. samdaman

    replacing strings from one file into another

    Hi Barbie Thanks for your reply, it has definately pointed me in the right place. I have managed to get it almost working perfectly. The last thing is that when the script finds a match, it starts to replace it with something from the location script. For example in my location file I have...
  12. samdaman

    replacing strings from one file into another

    Hi there. So this is my 2nd week perl scripting, and im starting to get the ropes now. I have two text files, one is created by another perl script that is an output from a cisco router, the other is a text file that lists &quot;Dialer101 to Amsterdam&quot; for example. I am trying to get...
  13. samdaman

    How do I write a data file so my script can take information from it?

    Hi everyone. I am trying to retrieve some information from a text file, but am not sure if the format is ok. Could someone please tell me how its supposed to be? Currently its like this Host: 172.24.100.111 Dialer: 1 Eventually this data file will have multiple hosts, with dialers linked...
  14. samdaman

    #!/usr/bin/perl and i dont have a f&quot;§$k clue

    So you mean something like? 172.24.100.111 1 2 3 ... ?
  15. samdaman

    #!/usr/bin/perl and i dont have a f&quot;§$k clue

    Its a text file. I guess im not to sure about how I should write that too. At the moment its Router 172.24.100.111 dialer 1;2;3... Should I use a spreadsheet instead? or format it differently. Thanks for you help Sam
  16. samdaman

    #!/usr/bin/perl and i dont have a f&quot;§$k clue

    Hi anyone out there. I am a Cisco administrator that has been chucked headfirst into the world of scripting. So starting yesterday, I have made my first script that works. yahooo. Its below if needed I need this script to open interface dialers on a cisco router. The script below can open a...
  17. samdaman

    I cant connect to my USA ISDN Router from Germany

    I am having problems connecting to two routers in the US over ISDN. I have a PRI (Germany) to BRI configuration to many routers worldwide that is identical in configuration. (This includes others that work in the US) The Router in Beaver Creek US has 5 BRI chanels one with a WIC interface...
  18. samdaman

    Appletalk on a TCP/IP Network Where to start

    Help someone I have been asked to configure a 3620 router to separate apple macs on our network in order to increase apple network performance. These macs are configured to run on a TCP/IP environment and need to stay this way. My question is how do I do this? Can I just configure the router...
  19. samdaman

    Cisco 1700 wont ping another Cisco 1700

    Hi Gabriel Thanks for the solution. Funily enough I did some of what you suggested. I made ae (ur short port versions)the default gateway on router a, and ae on router b the default gateway, and bingo i could ping from one pc to the other and vice versa. I suppose that because I made the ip...
  20. samdaman

    Cisco 1700 wont ping another Cisco 1700

    Dont worry, your text isnt as long as its taking me to do it on my own ;-) and is very helpful. In fact your first reply helped me with other problems, which I have now solved. Basically, I have been given two routers and the course material (which I have laboriously covered) from the...

Part and Inventory Search

Back
Top