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 bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscribe@googlegroups.com 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 "support@barebones.com" rather than posting to the group.
May 28
Brian Frick Re: Appending filename to each line in the file
May 28, 2010; 05:49
Brian Frick
Re: Appending filename to each line in the file
May 28
dp Re: Appending filename to each line in the file
May 28, 2010; 06:00
dp
Re: Appending filename to each line in the file
May 28
Steve Kalkwarf Re: Appending filename to each line in the file
May 28, 2010; 06:30
Steve Kalkwarf
Re: Appending filename to each line in the file
May 28
dp Re: Appending filename to each line in the file
May 28, 2010; 06:33
dp
Re: Appending filename to each line in the file
May 28
Tim Gray Re: Appending filename to each line in the file
May 28, 2010; 06:48
Tim Gray
Re: Appending filename to each line in the file
May 28
dp Re: Appending filename to each line in the file
May 28, 2010; 07:10
dp
Re: Appending filename to each line in the file
May 28
Tim Gray Re: Appending filename to each line in the file
May 28, 2010; 07:43
Tim Gray
Re: Appending filename to each line in the file
May 28
LuKreme Re: Appending filename to each line in the file
May 28, 2010; 11:18
LuKreme
Re: Appending filename to each line in the file
Jun 05
wallabadah Re: Appending filename to each line in the file
Jun 05, 2010; 02:55
wallabadah
Re: Appending filename to each line in the file
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!