Replace on part of a wildcards search

David A Starr dastarr at ra.rockwell.com
Tue Oct 6 05:56:57 PDT 2009


I'm not sure this is helpful at this time, but Using FrameMaker 5 has a 
Chapter 8 titled Searching. The Index for this manual has a  reference 
from searching to See 'finding'. Finding has a long list of search tools 
and methods, and also cross references 'changing' and 'navigating'. 

I'm wondering if some of these old terms may hide in the current help 
files?

Dave Starr

Sr. Technical Information Developer |  Architecture and Software
Phone: 952.942.3617 
Email: dastarr at ra.rockwell.com
Rockwell Automation | 10120 West 76th St, Suite B | Eden Prairie, MN 55344



"David Spreadbury" <dspreadb at yahoo.com> 
Sent by: framers-bounces at lists.frameusers.com
10/05/2009 04:02 PM

To
"'Matt Sullivan'" <matt at grafixtraining.com>, <peter at knowhowpro.com>, "'Les 
Smalley'" <l_c_smalley at yahoo.com>
cc
framers at lists.frameusers.com
Subject
RE: Replace on part of a wildcards search






You are quite right.

The Frame 5.5 User Guide has about eight pages, starting on page 55, on
performing searches.

There is a half-page table on page 57, the same one that is in the
referenced handout, on Using Wildcards in a Search.

Somewhere I should have a copy of the Frame 4 User Guide, which probably
goes into even more depth. Need to do some more digging.

David Spreadbury
Sr. Technical Writer


-----Original Message-----
From: Matt Sullivan [mailto:matt at grafixtraining.com] 
Sent: Monday, October 05, 2009 2:53 PM
To: 'David Spreadbury'; peter at knowhowpro.com; 'Les Smalley'
Cc: framers at lists.frameusers.com
Subject: RE: Replace on part of a wildcards search

Part of what you may be looking for was in an FM 5.5 handout I got as part
of the FrameMaker Classroom in a Box product.

I've posted the PDF here
http://www.grafixtraining.com/reference/
And the information on wildcard searches is in Handout 6-3 on page 12

The info is (obviously) from FM 5.5, but still quite current.


-Matt
 
Matt Sullivan
GRAFIX Training
 
matt at grafixtraining.com
www.grafixtraining.com
office 714 960-6840
cell & txt 714 585-2335
sms message
skype: mattrsullivan
twitter: mattrsullivan
 

linkedin
 

facebook
 

 

-----Original Message-----
From: framers-bounces at lists.frameusers.com
[mailto:framers-bounces at lists.frameusers.com] On Behalf Of David 
Spreadbury
Sent: Monday, October 05, 2009 11:54 AM
To: peter at knowhowpro.com; 'Les Smalley'
Cc: framers at lists.frameusers.com
Subject: RE: Replace on part of a wildcards search

Searching for "framemaker grep" brought what might be a source for using
GREP with Adobe products. Apparently it is not limited to FrameMaker. Try
reading what is available at http://carijansen.com/. If this doesn't help,
maybe contacting the author, Cari Jansen, in Perth, Australia, would 
provide
the answers.

HTH

David Spreadbury
Sr. Technical Writer


-----Original Message-----
From: framers-bounces at lists.frameusers.com
[mailto:framers-bounces at lists.frameusers.com] On Behalf Of Peter Gold
Sent: Monday, October 05, 2009 1:32 PM
To: Les Smalley
Cc: framers at lists.frameusers.com
Subject: Re: Replace on part of a wildcards search

FrameMaker has long a GREP-like search feature, in FM, and some
documentation for it. However, the replace wasn't GREP-like. But worse 
yet,
there doesn't seem to be a trace of the documentation for it in FM9. I've
forgotten how to use it, and without the doc, I'm not sure that my couple 
of
quick tests were failing because the feature's gone from the product as 
well
as the doc, or if I just didn't enter the search string correctly.

I don't have an earlier FrameMaker installed, and don't have the earlier
docs handy. Perhaps someone on the list can respond.


HTH

Regards,

Peter
_______________________
Peter Gold
KnowHow ProServices



On Mon, Oct 5, 2009 at 12:01 PM, Les Smalley <l_c_smalley at yahoo.com> 
wrote:
> Hi Avi,
>
> The asterisk ( * ) wildcard matches any character EXCEPT spaces or 
> punctuation; the wildcard character to use for those is the verticle 
> bar ( | ) but also remember that the tab character is "\t" (no
> quotes) ...
>
> Regardless, unfortunately you can't do it with FrameMaker as you 
> describe attempting.  The search tool removes everything matched by 
> the search string and inserts the replace string in its place, so you 
> will also lose the "Command" string.  It is a great disappointment 
> that a real GREP search capability (or even more general awk text 
> processing features) has never been implemented in FM.
>
> If
> you search for just "Unit32" and replace that with "SHORT_ID" you can 
> do what you want by careful use of the 'Change & Find' or just 'Find' 
> buttons (and I understand how tedious and error-prone this can
> be.)
>
> It may be posible to do this via scripting (e.g.
> FrameScript, etc.; I'm sure others more knowledgeable will chime in) 
> or possibly by saving to MIF and using a text based editor on that, 
> then reopening it in FM to verify the results.
>
> FWIW, grep and awk
> (and a number of other unix tools) are available as utilities for 
> Windows and any search engine can point you to places to get them.
>
> - Les
>
> --- On Mon, 10/5/09, Avraham Makeler <amakeler at gmail.com> wrote:
> Hi all,
> How do you do a Replace on part of a wildcards search?
>
> E.,g., I am looking for a line with:
>
> Uint32 Command
>
> where there can be any type and amount of white space between "Uint32" 
> and "Command".
>
> So I guess the wild card search format will be
>
> Uint32*Command
>
> No?
>
> But then if I want to replace just the "Uint32" part with "SHORT_ID". 
> How would i do that?
>
> TIA
>
> - avi
> _______________________________________________



_______________________________________________


You are currently subscribed to Framers as matt at grafixtraining.com.

Send list messages to framers at lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscribe at lists.frameusers.com
or visit
http://lists.frameusers.com/mailman/options/framers/matt%40grafixtraining.co

m

Send administrative questions to listadmin at frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


_______________________________________________


You are currently subscribed to Framers as dastarr at ra.rockwell.com.

Send list messages to framers at lists.frameusers.com.

To unsubscribe send a blank email to 
framers-unsubscribe at lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/dastarr%40ra.rockwell.com


Send administrative questions to listadmin at frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.




More information about the framers mailing list