From: Don Pich on 4 Mar 2010 13:58 Hey Jue, The reason I have to do that is I have a dslam that is sending option82 data as a complete hex string, part of which is the ip address in a hex form. In order for me to authenticate against the circuit-id, I need to add an ldap entry for each dslam using the hex value of the ip address.
From: Willem on 4 Mar 2010 14:00 Don Pich wrote: ) Here is my script: ) ) <snip> ) ) Here is the output file BASIP.list: ) 0a1497fa ) 0a1497f8 ) 0a1491fc ) 0a1491fa ) ) ** Notice the extra line after 0a1491fa What extra line ? Is there \n\n at the end of the file ? As far as I can tell, your script prints one newline after each line. SaSW, Willem -- Disclaimer: I am in no way responsible for any of the statements made in the above text. For all I know I might be drugged or something.. No I'm not paranoid. You all think I'm paranoid, don't you ! #EOT
From: Tad McClellan on 4 Mar 2010 15:52 Don Pich <dpich(a)polartel.com> wrote: > Desired output: > > convert the IP into a quad hex form. print "convert the IP into a quad hex form.\n"; Done! -- Tad McClellan email: perl -le "print scalar reverse qq/moc.liamg\100cm.j.dat/" The above message is a Usenet post. I don't recall having given anyone permission to use it on a Web site.
From: Tad McClellan on 4 Mar 2010 15:54 Don Pich <dpich(a)polartel.com> wrote: > Hey Jue, > > The reason I have to do that Do what? Please learn how to make a proper post and followup if you plan to post or followup in a Usenet newsgroup. -- Tad McClellan email: perl -le "print scalar reverse qq/moc.liamg\100cm.j.dat/" The above message is a Usenet post. I don't recall having given anyone permission to use it on a Web site.
From: Justin C on 5 Mar 2010 15:37 In article <slrnhp0762.k17.tadmc(a)tadbox.sbcglobal.net>, Tad McClellan wrote: > Don Pich <dpich(a)polartel.com> wrote: > >> Desired output: >> >> convert the IP into a quad hex form. > > > print "convert the IP into a quad hex form.\n"; > > > Done! Man you can be obtuse sometimes! :) Justin. -- Justin C, by the sea.
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: FAQ 4.65 How can I get the unique keys from two hashes? Next: FAQ 7.13 What's a closure? |