Search found 45 matches
- 21 Mar 2018, 20:37
- Forum: Ask for Help (v1)
- Topic: Help for grep and array Topic is solved
- Replies: 5
- Views: 1522
Re: Help fro grep and array Topic is solved
nvm found the solution
- 21 Mar 2018, 18:31
- Forum: Ask for Help (v1)
- Topic: Help for grep and array Topic is solved
- Replies: 5
- Views: 1522
Re: Help fro grep and array Topic is solved
Exemple of Value in files: Id="11316832" No="90001267"
Expected Output in OrderId.txt : 11316832 90001267
Current Output in OrderId.txt: 11316832 90001267 ; it double the output :\
11316832 90001267
Expected Output in OrderId.txt : 11316832 90001267
Current Output in OrderId.txt: 11316832 90001267 ; it double the output :\
11316832 90001267
- 21 Mar 2018, 16:57
- Forum: Ask for Help (v1)
- Topic: Help for grep and array Topic is solved
- Replies: 5
- Views: 1522
Re: Help fro grep and array Topic is solved
Anyone able to help?
Thanks!
Thanks!
- 20 Mar 2018, 22:43
- Forum: Ask for Help (v1)
- Topic: Help for grep and array Topic is solved
- Replies: 5
- Views: 1522
Re: Help fro grep and array Topic is solved
The following code work. However, I get every result in double! What is wrong?
Code: Select all
for i, v in g
{
result1 := v.1
gosub, secondgrep
fileappend, %result1% %result2% `n, OrderID.txt
}
secondgrep:
for i, w in g2
{
result2 := w.1
}
continue
return
- 20 Mar 2018, 19:50
- Forum: Ask for Help (v1)
- Topic: Help for grep and array Topic is solved
- Replies: 5
- Views: 1522
Help for grep and array Topic is solved
Hello, I want to do a grep and paste result into a .txt with both result from "g" and "g2" and so on. Please see below code and let me know what to enter in the "for i, v in g" section Thanks! g:=grep(fileread2, "sU)id=""(.*)""") g2:=grep(fileread2, "sU)No=""(.*)""") countx := g.MaxIndex() countx2 :...