Hi guys,

Thanks for the responses. Yes exactly. Just swapping out a language 2
letter ISO code and saving new TXT documents with that ISO code in the
filename. I usually have 30 - 50 instances of the 2 letter code in my
TXT documents.

For example:

Text file "MYTEXT_EN.TXT" has:

path:EN.tif change to path:(variable).tif

(variable) is pulled from a list of 35 languages from another file. Such as
KR,
GB,
AU,
etc.

Save out 35 files with MYTEXT_(variable-language).TXT

Is this possible w/ BBedit? I've just picked up some Perl books at B&N
but I'd love to use BBEdit.

Any help is greatly appreciated. Sorry in advance if I'm not
explaining this right.


On Thu, Sep 1, 2011 at 1:24 PM, Robert A. Rosenberg <[email protected]> wrote:
> At 09:20 +0100 on 09/01/2011, John Delacour wrote about Re: BBEdit - Find &
> Replace using a list:
>
>> At 17:05 -0700 31/08/2011, JT wrote:
>>
>>> ...I have 30 language files that I automate graphics production and the
>>> text files are identical except each one calls a new file in the path.
>>> For example,
>>>
>>> file://KR.tif
>>>
>>> and I need to change the 'KR' to AU, GB, DK and so on and save each
>>> find and replace as a new text file. Can this be done with BBEdit? Is
>>> this something else other than what BBEdit was designed for?
>>
>> It sounds like something that could be done very easily with BBEdit but
>> until you describe the problem in clear English and say just what it is you
>> want to save, I doubt if anyone will be able to help.
>>
>> JD
>
>
> The way I understand his needs, he wants to be able to create file-templates
> that contain a "file://**.sufix" line and clone it to produce 30 separate
> files replacing the ** with a list of prefixes.
>
> Think of it as automating the process of manually creating a KR file and
> saving it as KR.file, doing a find/replace of file://KR. with file:AU. and
> saving as AU.file, and then replacing the AU with GB (saving as GB.file),
> and repeating until you run out of country prefixes.
>
> --
> You received this message because you are subscribed to the "BBEdit Talk"
> discussion group on Google Groups.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> <http://groups.google.com/group/bbedit?hl=en>
> If you have a feature request or would like to report a problem, please
> email "[email protected]" rather than posting to the group.
> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
>



-- 
Santa Monica, Calif.

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to