Help for grep and array Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
maitresin
Posts: 21
Joined: 20 Mar 2018, 19:33

Help for grep and array

20 Mar 2018, 19:50

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!

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

maitresin
Posts: 21
Joined: 20 Mar 2018, 19:33

Re: Help fro grep and array

20 Mar 2018, 22:43

The following code work. However, I get every result in double! :( What is wrong?

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

maitresin
Posts: 21
Joined: 20 Mar 2018, 19:33

Re: Help fro grep and array

21 Mar 2018, 16:57

Anyone able to help?

Thanks!
User avatar
gregster
Posts: 1253
Joined: 30 Sep 2013, 06:48

Re: Help fro grep and array

21 Mar 2018, 17:13

Perhaps you should provide the input and the expected result. That could help others to help you.
maitresin
Posts: 21
Joined: 20 Mar 2018, 19:33

Re: Help fro grep and array

21 Mar 2018, 18:31

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
maitresin
Posts: 21
Joined: 20 Mar 2018, 19:33

Re: Help fro grep and array  Topic is solved

21 Mar 2018, 20:37

nvm found the solution

Return to “Ask For Help”

Who is online

Users browsing this forum: Elendiar, MannyKSoSo, mshall and 64 guests