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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by rufflocks

  1. rufflocks

    How do I connect my laptop directly to my desktop

    I have been at it for 3 days straight and it just does not work. I have googled and read several detailed threads, and followed along. Still I cannot get the ping to go through. I will just have to break down and buy the hub or switch. What do those things cost anyway (in US$)?
  2. rufflocks

    How do I connect my laptop directly to my desktop

    smah the color sequence is different.
  3. rufflocks

    How do I connect my laptop directly to my desktop

    If I take the cable that connects to the cable modem and run it between the desktop and laptop, will that suffice as a crossover cable?
  4. rufflocks

    How do I connect my laptop directly to my desktop

    smah, 1. yes 2. yes - desktop is 192.168.0.227, laptop is 192.168.0.228 3. firewall disabled on both machines 4. selected "turn on file sharing ...." with network setup wizard on both machines.
  5. rufflocks

    How do I connect my laptop directly to my desktop

    I did everthing someone suggested on the second website. Nothing worked. I am at the same spot I was yesterday, where the laptop can ping itself but the desktop cannot. I am thinking the problem lies witth the desktop, but I am just not sure.
  6. rufflocks

    How do I connect my laptop directly to my desktop

    They both have the ethernet network card. I have the cable that runs between them. When I connect them, the netwok icons indicate that connections have been established. However, I cannot access any files. What am I missing?
  7. rufflocks

    need help with summarizing

    Thank you all for your input. Krunek, I did try your solution but got: awk: syntax error near line 1 awk: bailing out near line 1 I probably would have to tweek something. PHV's solution worked for me. Thanks. Someone pointed me to unix line command "unique -c" that gave me similar results...
  8. rufflocks

    need help with summarizing

    I want to read in an input file of numbers. I want the output to give me each unique number found and the count for each number found. Currently, my script prints all the numbers with the count ascending. sample output: 1 - 1 1 - 2 1 - 3 2 - 1 2 - 2 2 - 3 2 - 4 3 - 1 3 - 2 What I want is: 1 -...
  9. rufflocks

    Supressing spaces in pipe-delimited field

    if field is numerics (all 5 digits) write field to file1 write field to file2. if field is alpha-numeric (some alpha, some numeric, or all apha, not spaces) write field to file1 write "1111" to file2. if field has leading/trailing spaces (remaining vales are numerics)...
  10. rufflocks

    Supressing spaces in pipe-delimited field

    Thanks. That works if I want to print the field without leading and trailing spaces. How about if I want to do some work with the non-space value digit/characters of this field?
  11. rufflocks

    Supressing spaces in pipe-delimited field

    I wish to suppress leading and trailing spaces in a pipe-delimited field so that: | 123| will become 00123, and |123 | will become 00123
  12. rufflocks

    test field for numeric or alpha-numeric

    Thank you. Tell me, though, why is it necessary to have two [0-9]'s? I tried the script as: "if ($2 ~ /^[0-9]*$/) {doNumeric }" and it seems to give the results I want.
  13. rufflocks

    test field for numeric or alpha-numeric

    The record is pipe-delimited. I want to check if a field is numeric or alpha-numeric. something like: if ($2 is numeric) { do something; } Any suggestions?
  14. rufflocks

    adding trailing spaces

    Thank You. That worked.
  15. rufflocks

    adding trailing spaces

    Input file is variable length. If record length is not 50 bytes I want to add trailing spaces to make the record 50 bytes. Any suggestions?

Part and Inventory Search

Back
Top