Re: Secrets of the filter command?

2007-06-27 Thread J. Landman Gay
Joe Lewis Wilkins wrote: Mark, Yeah, we could type ss into the msg box and a dialog would appear asking us which stacks we wanted to search (any one along with its using stacks) along with the word or phase we wanted to locate. Then it would snake through each of the stacks into every script

Re: Secrets of the filter command?

2007-06-27 Thread Jim Ault
I believe the ss was a script handler in the Home stack that stood for search script Rev has a much-much better tool for this, as it does more than just scripts, and includes the power of regEx, builds a list of the hits To use this, do cmd-F/cntrl-F or in the Edit menu Find and Replace...

Re: Secrets of the filter command?

2007-06-27 Thread Joe Lewis Wilkins
Thanks for the reminder Jacqui and Jim. Snake was probably a name I gave it; perhaps not, but it did snake through all of the scripts. I didn't realize that the Rev. Find and Replace... is that versatile; but, then, I've never tried it. (smile) Of course, one of the reasons I didn't think

Re: Secrets of the filter command?

2007-06-27 Thread Joe Lewis Wilkins
Mark, Yeah, we could type ss into the msg box and a dialog would appear asking us which stacks we wanted to search (any one along with its using stacks) along with the word or phase we wanted to locate. Then it would snake through each of the stacks into every script in them, locating

Re: Secrets of the filter command?

2007-06-27 Thread Jim Ault
On 6/26/07 11:25 PM, Joe Lewis Wilkins [EMAIL PROTECTED] wrote: Thanks for the reminder Jacqui and Jim. Snake was probably a name I gave it; perhaps not, but it did snake through all of the scripts. I didn't realize that the Rev. Find and Replace... is that versatile; but, then, I've never

Re: Secrets of the filter command?

2007-06-27 Thread Joe Lewis Wilkins
Thanks, Jim. Glad to see you're hard at work close to midnight! I hit the sack early, but am now up and at em. Joe Wilkins On Jun 26, 2007, at 11:51 PM, Jim Ault wrote: On 6/26/07 11:25 PM, Joe Lewis Wilkins [EMAIL PROTECTED] wrote: Thanks for the reminder Jacqui and Jim. Snake was

Secrets of the filter command?

2007-06-26 Thread David Bovill
I've always been curious about the filter command - and I am pretty sure from examples I have seen that there is a lot more to it than is shown in the docs. Take this example from Jerry Daniels beautiful Galaxy: filter someScript with [-ofsgOFSG][-nueNUE][ ntNT]* What is the leading - doing

Re: Secrets of the filter command?

2007-06-26 Thread Richard Gaskin
David Bovill wrote: I've always been curious about the filter command - and I am pretty sure from examples I have seen that there is a lot more to it than is shown in the docs. Take this example from Jerry Daniels beautiful Galaxy: filter someScript with [-ofsgOFSG][-nueNUE][ ntNT]* What is

Re: Secrets of the filter command?

2007-06-26 Thread Jerry Daniels
David, That filter is used to get the comments that are actually names of handler folders as well as the handler names in a script. We prefix the names of groups of handlers (handler folders) with -- at the beginning of a line outside a handler. Handler folders are optional in Galaxy.

Re: Secrets of the filter command?

2007-06-26 Thread Mark Wieder
David- The filter command uses a subset of regex. I've got BZ #2805 filed to expand the regex syntax used. Jerry's regex string [-ofsgOFSG][-nueNUE][ ntNT]* is a great little filter for scanning through scripts looking for handlers: it will catch occurrences of lines starting with things like

Re: Secrets of the filter command?

2007-06-26 Thread Joe Lewis Wilkins
Mark is the filter command anything at all like the snake command we used to have available in HC? I've been wondering about how to search for things in Rev the way I used to do in HC and this kind of looked like it might be applicable. Joe Wilkins On Jun 26, 2007, at 4:17 PM, Mark Wieder

Re: Secrets of the filter command?

2007-06-26 Thread Jim Ault
In the Regular Expression world the square brackets mean consider the next char = [a-z] as a hit if it is lowercase a through z, thus [a-zA-Z] = lower and uppercase rule for a *single* character. [$£] means true if the char is either $ or £ filter productName with *[Rr]ev* -- means filter if

Re: Secrets of the filter command?

2007-06-26 Thread Mark Wieder
Joe- Tuesday, June 26, 2007, 4:32:03 PM, you wrote: Mark is the filter command anything at all like the snake command Ummm... snake? -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit