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!

Recent content by theo67

  1. theo67

    using an external script in awk

    Ok i was just not so clear about the cmd structure... But i tried it with other external programms and i see that this works fine with every one of them THANKS a lot again!!!!
  2. theo67

    using an external script in awk

    PHV is it possible to explain to me a little bit your code? I am not sure about it... awk -F';' Fileseparator is ; (until here ok) [blush] But for the rest i supose what it "could" mean..
  3. theo67

    using an external script in awk

    [shocked] @PHV WOW 12 seconds!!!!! and the file was ready!! A big THANKS to all for your help!!!!!!! Those are the moments where i realise all the things i can NOT do [wink]
  4. theo67

    using an external script in awk

    Hi feherke, i runed for a few seconds your 2nd version and braked it. should i now type in the commandline only: [[ -f '/tmp/dosomething.cache/4567' ]] ???
  5. theo67

    using an external script in awk

    Hi PHV, using your code, i stopped the skript after a few minutes and opened the output file. I see the whole line but without the first "column".. That's the position where the 4 digits should be...
  6. theo67

    using an external script in awk

    oooh sorry.. i should refresh the site bevor posting :)
  7. theo67

    using an external script in awk

    @phv i get as output, my input file without the first "column" :)
  8. theo67

    using an external script in awk

    Hi Feherke and thank you so much for your help! the first field (first 4 digits) are not unique. "dosomething" is i binary and it takes this number and calculate a new one. The new number depends allways from the input. That means e.g. "dosomething 4567" gives allways 9878 as output. Is this...
  9. theo67

    using an external script in awk

    hmm i ralise now thats very slow... my file is 80 MB and the script runs since 3 hours.... I tested it with i small file and it worked fine but i did not realise that it takes so long if i have my orig file...
  10. theo67

    using an external script in awk

    Hi feherke, i think you are right... i am a newbie so i have to learn a lot!! And i am glad everytime i get an idea from people who have experience like you!! Thank you very much for the answer. I used it and it is exactly what i need... Theo
  11. theo67

    using an external script in awk

    Hello to all, i can not find a solution: i have a file file1.txt looks like 4567;9803298ß;38840 (over thousands and thousands Lines) And an external script "dosomething" Now i need to do the following stepps: 1. Open the file 2 Cut the first 4 digits 3. Use them as a parameter to call an...
  12. theo67

    awk "if not exists in (cat filename)"

    is it possible to put this in an IF request? the whole thing changed a little bit, and i have now to check, if the current line from fileone, whichis in access from awk, if the substring has a value which exists in filetwo, then i have to do something.... so i tried over ... cat fileone | awk...
  13. theo67

    Popup message

    ..... StringBuffer output = new StringBuffer(); ... output.append("bla bla") .. String result= output.toString(); retourn result;
  14. theo67

    Popup message

    Wonderfull! It works!. I just need one last detail: The retourn of testbean.result is a String-"Message" which i would like to have on the alert Window. If i type alert("<%=testbean.result(param1,param2,param3) %>) this runs the methode, but i get not the "return". If i add a output.println...
  15. theo67

    Popup message

    Something like this yes. Just i need that, the message for this "alert" Box, should be the retourn of a method.. So is it possiple to run alert like. alert("<% testbean.result(param1,param2,param3) %>) ????????

Part and Inventory Search

Back
Top