skreien Posted January 20, 2005 Share Posted January 20, 2005 I have a directory full of text files which I need to search through periodically. Currently I use a dos grep command and do it by hand, but I would like to automate it. Is there an equivalent in AutoIt, or another way to do it? Link to comment Share on other sites More sharing options...
sugi Posted January 20, 2005 Share Posted January 20, 2005 As long as you don't write your own version of grep in AutoIt: no. Link to comment Share on other sites More sharing options...
skreien Posted January 24, 2005 Author Share Posted January 24, 2005 That's what I was afraid you would say. I may have to do that at some point, it would make my life much easier.Thanks.As long as you don't write your own version of grep in AutoIt: no.<{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
martin Posted January 24, 2005 Share Posted January 24, 2005 (edited) That's what I was afraid you would say. I may have to do that at some point, it would make my life much easier.Thanks.<{POST_SNAPBACK}>Couldn't you use AutoIt to collect the parameters you want, search string etc, and then call grep from within the AutoIt script? Edited January 24, 2005 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
ezzetabi Posted January 24, 2005 Share Posted January 24, 2005 (edited) Most probably with all the good String related functions, considering overall the new StringRegExp(), you should be able to do what you need in 100% Autoit. Edited January 24, 2005 by ezzetabi Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now