Thanks, Brian. 

Yes, it's easy for one file, and I'll do it that way if necessary. I was rather 
hoping for some function that allowed a multi-file replacement of \r with 
\t[filename]\r.

dp
***********************************************************
On May 28, 2010, at 7:49 AM , Brian Frick wrote:

At the very least, you could do Text -> Prefix/Suffix lines with "  \t 
Basketball_Boys  "  in suffix for that file.  You'd have to do each file 
separately, but that's super easy.
--
Brian

On May 28, 2010, at 7:40 AM, dp wrote:

I have 57 files. Each contains a list of student names. In order to import into 
a database, I need to append the filename to the end of each line in each file. 
To use a simplified example, the Basketball_Boys.tab file contains

Andy [tab] Aardvark
Billy [tab] Badger
Carl [tab] Cougar

I need for it to contain

Andy [tab] Aardvark [tab] Basketball_Boys
Billy [tab] Badger [tab] Basketball_Boys
Carl [tab] Cougar [tab] Basketball_Boys

It would be no problem to do a manual search and replace for a single file. It 
would be no problem to do it multi-file if the filenames were all the same. But 
with 57 different filenames, I'm looking for a way to streamline the process. 
Can anyone help?

Thanks,
dp

-- 
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.

-- 
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.

-- 
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.

Reply via email to