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!!!!
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..
[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]
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' ]]
???
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...
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...
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...
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
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...
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...
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...
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) %>)
????????
Hello to all,
i hope someone can help me.
I am using Java 1.6 and Tomcat 6.
I have a jsp file where i call a method like this:
CODE --> java
<tr><td align="center" valign="top" colspan="2">
<br>
<table border="0" cellpadding="20" cellspacing="0" ><tr><td valign="top">
<table border="0"...
hello Team,
i run Tomcat, using jsp Files.
I would like to have a check for a global boolean.
I have a global java boolean "error_code", and if this is true, then i would like to redirect to a specifig site e.g http://something..
I have the boolean, i think it will start like
this
<%
if...
Hi FlorianAwk.. thanks a lot for your solution too! REGEXs are impressing me everytime :)
@PHV for me to understand it better.. what exactly is the funktion of
++n?
I can imagine what, but i could not find an examble which i can say i could understand to 100% and be absolutely sure about the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.