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 SkipVought 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: chomps303
  • Order by date
  1. chomps303

    rcmd windows????

    Man I love this board!!!! Your suggestion work exactly as I needed!!! THANKS Brandt
  2. chomps303

    rcmd windows????

    Does anyone know of a utility for Windows that I can use to do a rcmd command on a unix box? Thanks Brandt Eppler PMP
  3. chomps303

    Sed or grep help

    Thanks for all your good answers!! Brandt
  4. chomps303

    Sed or grep help

    How can I fina line if filed 1 eq a P if I do a grep "P" I will get 3 I only want to get the 2 that start with a P ie: "P","123","abc345","678" < Get this one "S","194","abc345","678" < don't get this one "S","123","abc345","P" < don't get this one "P","789","abc345","678" < Get...
  5. chomps303

    FancyIndexing

    Thanks!! I don't understand your answer. Can you explain or give syntax? Thanks in advance. Brandt
  6. chomps303

    FancyIndexing

    How can I turn off FancyIndexing I don't want my directories browseable. There must be a .htm file or nothing should show. Thanks Brandt I am on apache on SCO 5.07
  7. chomps303

    Directory browsing

    How can I turn off FancyIndexing I don't want my directories browseable. There must be a .htm file or nothing should show. Thanks Brandt I am on apache on SCO 5.07
  8. chomps303

    Getting rid of leading zeros

    OK field 5 & 13 take leading 0's out thanks "P","A","","","000000000501083","0","aaaaaaa","bbbbbbbb","cccccccccc","A","","","000000000546758","0","bbbbbbb","cccccccc" "P","A","","","000000000546758","0","bbbbbbb","cccccccc","cccccccccc","A","","","000000000546758","0","bbbbbbb","cccccccc"...
  9. chomps303

    Getting rid of leading zeros

    I can't seem to get the syntax correct. I tried awk 'BEGIN{FS=OFS=","}{sub(/"0*/,"\"",$5);sub(/"0*/,"\"",$16);print}' foo > foo. out field 5 works fine fild 16 does not. Thanks Brandt
  10. chomps303

    Getting rid of leading zeros

    Great!! What would the syntax be for a second field say field 10? Thanks Brandt
  11. chomps303

    Getting rid of leading zeros

    OK Thanks I forgot to add that the field is NOT the first one. It would be the 5th field Thanks Brandt ie: "P","A","","","000000000501083","0","aaaaaaa","bbbbbbbb","cccccccccc" "P","A","","","000000000546758","0","bbbbbbb","cccccccc","cccccccccc"...
  12. chomps303

    Getting rid of leading zeros

    I have a file with several fields. There is a field that has leading zeros, how can I get rid of them? I am only showing 1 field below in sample. Thanks in advance, Brandt ie: "000000000501083" "000000000546459" "000000000006758" "000000000314515" "000000000332358" "000000000082485"...
  13. chomps303

    sed or awk question

    THANKS to all who responded. Once again you all are the best reference available in the Unix world. Worked great!! Brandt Eppler PMP
  14. chomps303

    sed or awk question

    vgersh99 When I try your line I get the Literal: "AIL","A","","","","000000000156425","","","3","1","","N","N","","","","","","", "","20041114","20041126","","","","","","","","","","","","","Y","","$(date +%Y%m%d)" Thanks Brandt
  15. chomps303

    sed or awk question

    I have a standard ascii comma, quoted file. I need to add todays date to the end of the record. This will run in a script and run daily... So the date will be a variable. ie: "aaaaaaa","bbbbb","cccccc","ddddd" < Now "aaaaaaa","bbbbb","cccccc","ddddd","20041207" < Needs Thanks Brandt
  16. chomps303

    Serial Data

    I have ascii reports that are generated from our telephone system. At a specified time the reports are sent out a RS232 serial port. I need to have my com1 port on my SCO box receive te data and save it to a file. How can I open the com1 port? Does anyone have a script. I would prefer not to...
  17. chomps303

    Awk Help needed

    THANKS to all your help It worked great!! Futurelet Thanks to ALL Brandt
  18. chomps303

    Awk Help needed

    PHV See the middle record. This is the result of you script. Thanks Brandt 1,557802,2,0,"","",20041014,20041014,"","",0,0,0,20041014,20041014,0,0,"",0,"", "","","","150494",0,1,4015,1,"",0,0,"Y","","","","1U",0 ^M...
  19. chomps303

    Awk Help needed

    PHV REAL Close!! It seems that it is not keeping the 304 length. thanks Brandt
  20. chomps303

    Awk Help needed

    OK, This browser will not allow "-" as the first chr (Don't know why) My example below I am using a "=" instead of "-" The 1st field could be 1 chr 6 2 chr 62 3 chr 620 I need to replace the 1st field with a "-1" (no quotes) The main issue is I MUST keep the record length to 304 char...

Part and Inventory Search

Back
Top