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: *

  • Users: ianfo
  • Order by date
  1. ianfo

    Bluetooth between laptop and desktop + internet access

    I decided to take my laptop bluetooth adaptor back in the end so this question is no longer valid. Thanks for your reply anyway.
  2. ianfo

    Bluetooth between laptop and desktop + internet access

    Hi, I've just bought a pcmcia Bluetooth card for my laptop so I can use it to connect to my mobile phone and I was wondering if the following would also be possible. If I bought a Bluetooth adaptor for my desktop PC aswell (win2000 proessional), could I use bluetooth to allow my laptop to...
  3. ianfo

    regular expression substitution

    I was hoping there would be a 1 liner that would help to keep things tidy. Thanks for all your help...
  4. ianfo

    regular expression substitution

    Hi, If I have something like $var="abcd"; How can I make a substitution to the contents of $var and display the substituted output without making any changes to the actual contents of $var. So in the above example, I want to keep the contents of $var the same, but in a print...
  5. ianfo

    Locating a directory

    If I have a directory, /export/web/sun Which contains lots of other directories of the following format.... explorer.hostid.hostname-2002.09.10.21.10 hostid is an unknown alphanumeric string and the date at the end of the directory name is also unknown... I have an array containing only a...
  6. ianfo

    Array references

    Hi, Does anyone know if it's possible to do this in one line, as opposed to creating an array then creating a reference to that array? my @HOSTS=split /,/, aaa,bbb,ccc,ddd my $HOSTLIST=\@HOSTS; Thanks
  7. ianfo

    Form Input validation

    I've put the script in between <head> and </head> I'm getting a syntax error pop up window when I try to load the page. I'll check it over again.
  8. ianfo

    Form Input validation

    I'm having some problems getting it to work All i've changed on the line below is action=&quot;cgi-bin/getpatch&quot; <form name=&quot;f1&quot; action=&quot;&quot; onsubmit=&quot;return checkId(document.f1.patchid)&quot;> Do I need to change document to anything or should it work as it is...
  9. ianfo

    Form Input validation

    Hi, I've got a really simple html form that takes user input into one box (input name=patchid) Can someone give me an example of how I would validate patchid to make sure it is a 6 digit number? I don't know any javascript but i've tried a couple of things with no success so far so any help...
  10. ianfo

    How to get directory listing in perl for unix

    Ooops, just saw the other thread a couple of lines down. I'll check that one instead....
  11. ianfo

    How to get directory listing in perl for unix

    Hi, does anyone know how to get a directory listing when using perl for unix (without calling out to the ls command) Thanks
  12. ianfo

    returning character to beginning of line

    Got it working with the following.... print &quot;\r$var&quot;; Thanks for your help anyway :o)
  13. ianfo

    returning character to beginning of line

    That didn't help, sorry. My program goes round in a loop and prints one string after another to the screen. I just need the printed string to appear in the same place the previous one did instead of being on a new line or appearing after the previous string on the same line...
  14. ianfo

    returning character to beginning of line

    sorry, should have put some more details There will be no newline before it as I want to print a string, then go to the beginning of the line and print another string (essentially over the top of the first string)
  15. ianfo

    returning character to beginning of line

    Hi, is there a way to tell the print function to print at the beginning of the line? At the moment, i've cheated by using print &quot;\b\b\b\b\b\b\b\b\b\b\b\b$var&quot;; but it's not very tidy! Thanks
  16. ianfo

    printing multiple array elements

    Just what i'm looking for, thanks....
  17. ianfo

    printing multiple array elements

    Hi, When using print to display an array element, like this.. print &quot;$myarray[0]\n&quot;; Is it possible to specify a range of elements to print? So instead of just having element 0, I could say elements 0 to 5. Thanks for any help you can give me.
  18. ianfo

    TCL/EXPECT - Removing last line from array element

    Thanks Ken, Very usefull :o
  19. ianfo

    TCL/EXPECT - Removing last line from array element

    This is related to the unix expect tool that uses TCL so I hope the question is still relevent here. If I have an array element expect_out(buffer) that has a multiple line content like this.... AAAAAAA BBBBBBB CCCCCCC ABCD$ How would I go about removing the last line? I've tried using string...
  20. ianfo

    EXPECT question: removing last line from expect_out(buffer)

    Hi, I have an expect question...... Given the following contents of expect_out(buffer) uname -a SunOS xx 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Fire xxxx does anyone know how I can remove the last line from the buffer? (its contents could be varying so I cant just use string trimright...

Part and Inventory Search

Back
Top