There's also a Canonize feature in BBEDit that I'd never used that serves a possibly related mission.
Here's an example. I'm completely smitten with a word processor called Mellel. It's my voice, rod, staff, and that magical fount from which prose flows. In another forum, someone asked how to make table of contents entries appear one way in the manuscript and another way in the TOC in a Mellel document. Generated tables of content are just editable text, so problem half solved there. Create the heading entries (auto-titles, in Mellel-speak) the way you want them to appear in the manuscript, generate a fresh TOC, and then hand-edit to suit your tastes. But there's a problem. We're enlightened and highly evolved. We don't do hand edits. BBEdit will open zip files and you can make edits in zip component files without manually zipping and unzipping. Mellel documents are actually zip format. The text portions of a document are in a component file called main.xml. Auto-titles in Mellel are like headings with multiple formats. One format sets how they look in the manuscript, another in the TOC, and there are other formats for other contexts, like "mentions" in page footers. A typical TOC format will have the chapter or section title followed by a tab. As stored in the document file that appears as the chapter title followed by a keyword. BBEdit's Canonize takes a file formatted as "search string tab-character replacement string", where tab-character is an ASCII tab, decimal 9. So, a file with lines consisting of "actual title keyword tab-character shortened TOC title" will find the chapter titles in the generated TOC but not in the manuscript and translate them as desired. BBEdit is truly cool. On Wednesday, November 26, 2025 at 1:46:32 PM UTC-6 Anthony Gartner wrote: > Thank you... that was an idea i was thinking but not sure yet > > > On Wednesday, October 15, 2025 at 12:05:02 PM UTC-5 Johnny Ragadoo wrote: > >> If I understand your usage, it looks like your source file could be a csv >> file. Your second file could be the result of a mail merge in a word >> processor, saved as plain text, and I'm not sure what form your 3rd file >> would need to be. >> >> BBEdit could do all that, I think. There may be other tools that would >> apply, too. >> >> On Tuesday, October 14, 2025 at 4:33:24 PM UTC-5 Anthony Gartner wrote: >> >>> I am not even sure what to call it.... but what i would like to do is >>> create a file with a list of specific items for a company... >>> >>> Then i fill in a cheat sheet to create a 3rd file that i can use to copy >>> into my fireall. >>> >>> So the first file would have a list of probably 20 fields Example >>> Below. Bold entries would be used in a new file created (3rd file) Maybe >>> **************** >>> IP Address: *71.13.10.38* >>> VPN Address: *https://vpn.construction.com >>> <https://vpn.construction.com>* >>> Identifier (Entity ID): >>> *https://vpn.construction.com:12443/remote/saml/metadata >>> <https://vpn.construction.com:12443/remote/saml/metadata>* >>> Reply URL (Assertion Consumer Service URL): >>> *https://vpn.construction.com:12443/remote/saml/login >>> <https://vpn.construction.com:12443/remote/saml/login>* >>> Sign on URL: *https://vpn.construction.com:12443/remote/saml/login >>> <https://vpn.construction.com:12443/remote/saml/login>* >>> Login URL: >>> *https://login.microsoftonline.com/8eadse6c1-1715-4550-8814-38faae013a96/saml2 >>> >>> <https://login.microsoftonline.com/8eadse6c1-1715-4550-8814-38faae013a96/saml2>* >>> Microsoft Entra Identifier: >>> *https://sts.windows.net/8ebde6c1-1715-4550-8814-38faae013a96/ >>> <https://sts.windows.net/8ebde6c1-1715-4550-8814-38faae013a96/>* >>> Logout URL: >>> *https://login.microsoftonline.com/8ebde6c1-1715-4550-8814-38faae013a96/saml2 >>> >>> <https://login.microsoftonline.com/8ebde6c1-1715-4550-8814-38faae013a96/saml2>* >>> >>> ********************* Cheat Sheet * >>> config system global >>> set auth-ike-saml-port 12443 >>> end >>> >>> config user setting >>> set auth-cert "Fortinet_Factory" >>> end >>> >>> config user saml >>> edit "entra-id-saml" >>> set cert "Fortinet_Factory" >>> set entity-id >>> "*https://vpn.construction.com:12443/remote/saml/metadata/ >>> <https://vpn.construction.com:12443/remote/saml/metadata/>*" >>> set single-sign-on-url >>> "*https://vpn.construction.com:12443/remote/saml/login >>> <https://vpn.construction.com:12443/remote/saml/login>*" >>> set single-logout-url >>> "*https://vpn.construction.com:12443/remote/saml/logout >>> <https://vpn.construction.com:12443/remote/saml/logout>*" >>> set idp-entity-id >>> "*https://sts.windows.net/8egfgggc1-1715-4550-8814-38faae013a96/ >>> <https://sts.windows.net/8egfgggc1-1715-4550-8814-38faae013a96/>*" >>> set idp-single-sign-on-url >>> "*https://login.microsoftonline.com/8asdfe6c1-1715-4550-8814-38faae013a96/saml2 >>> >>> <https://login.microsoftonline.com/8asdfe6c1-1715-4550-8814-38faae013a96/saml2>* >>> " >>> set idp-single-logout-url >>> "*https://login.microsoftonline.com/8asdfe6c1-1715-4550-8814-38faae013a96/saml2 >>> >>> <https://login.microsoftonline.com/8asdfe6c1-1715-4550-8814-38faae013a96/saml2>* >>> " >>> set idp-cert "REMOTE_Cert_2" >>> set user-name "name" >>> set group-name "groups" >>> set digest-method sha1 >>> next >>> end >>> ********** 3rd file >>> would be the result of using the the first set of fields to be exported >>> to create the company specific results to be pasted into the firewall. >>> >>> >>> Any help on where or what i am looking for would be appreciated. I am >>> not knowledgeable enough to know what i am even asking. >>> >>> Anthony >>> >> -- This is the BBEdit Talk public discussion group. If you have a feature request or believe that the application isn't working correctly, please email "[email protected]" rather than posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/bbedit/9ff45bfd-5a81-401e-a139-de3eacffb6ban%40googlegroups.com.
