Re: losing a value after chomp()

2005-01-18 Thread Tor Hildrum
On Tue, 18 Jan 2005 15:15:00 +, RichT <[EMAIL PROTECTED]> wrote: > Grate that worked, the varible must of have a \r and a \n at the end. > thank you very much... > > how would i find our what escape chars are in a varible? > or is there a way to print out a string with out perl translating th

Re: losing a value after chomp()

2005-01-18 Thread RichT
On Tue, 18 Jan 2005 15:30:42 +0100, Tor Hildrum <[EMAIL PROTECTED]> wrote: > On Tue, 18 Jan 2005 13:22:14 +, RichT <[EMAIL PROTECTED] > wrote: > > Hi again, > > ok i made the changes sugested, but something is still wrong. > > the output im getting is > > -

Re: losing a value after chomp()

2005-01-18 Thread Tor Hildrum
On Tue, 18 Jan 2005 13:22:14 +, RichT <[EMAIL PROTECTED]> wrote: > Hi again, > ok i made the changes sugested, but something is still wrong. > the output im getting is > -- > "interface is "ATM0 > "interface is "A

Re: losing a value after chomp()

2005-01-18 Thread RichT
Hi again, ok i made the changes sugested, but something is still wrong. the output im getting is -- "interface is "ATM0 "interface is "ATM0.38 -

Re: losing a value after chomp()

2005-01-17 Thread Tor Hildrum
On Mon, 17 Jan 2005 17:57:28 +, RichT <[EMAIL PROTECTED]> wrote: > Hi All, > >time for me to ask dumb questions again... > > I have a script, what i want it to do is scan through a Cisco > router Config file (nicely saved in a text file already so no need for > and SNMP), then outpu