Good evening,

On 2/08/11 at 8:26 AM +0200, Marek Stepanek <[email protected]> wrote:

Charlie, this would be an easy task for perl. I only need to know the some more informations about the structure of the files added to the other files.

Are the files to be added in one folder? Are the files, which need to be 
updated in one folder?

All files are in one folder. And I'm not adding contents of one file to another file; I'm adding comments which include the file name.

I could write a perl script to handle it; I've already written the text filter (in perl) which does what I want. I could easily wrap that in a readdir loop. Part of my desire to use BBEdit for this was to learn some other features of my fav tool; eg I've not used Text Factories before so I thought this would be a good excuse to try them.

And I haven't gotten back to it yet, but I think I figured out what I need to do. Since the text filter is replacing all contents of the file (there is no current selection), I just need to print the contents of the file first and then add the new content. I should have thought of that earlier.

Thanks,
Charlie

--
   Ꮚ Charlie Garrison ♊ <[email protected]>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt

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