This sounds to me like a job for a *text factory* with the _Change Text 
Encoding_ action. :-)

For details, please see the section titled "Text Factories" starting on page 
155 of the PDF manual (Help -> User Manual) and I reckon that should suffice to 
get you started.


Regards,

 Patrick Woolsey
==
Bare Bones Software, Inc.             <https://www.barebones.com/>




> On Jun 25, 2024, at 11:25, David Viard <[email protected]> wrote:
> 
> Hello BBEdit 
> 
> I have an issue with an export from Excel as TXT or CSV.
> Excel adds a BOM to TXT / CSV files on export which kills my Shell Script.
> I have to :
>     • 
> open the file in BBEdit change encoding and CTL to UNIX and Save (with the 
> right encoding) or in OpenOffice and save again…
>     • Rename the File from .csv to .txt 
>     • It's tedious
>     • I have multiple files to do this way
>     • Coworkers might forget this part of the process and generate an error 
> (File not Found)
> So, I am inquiring of a scripting solution to handle poInts 1 & 2
> Was thinking of a Shell Script and a BBEdit but not sure how to do it and 
> include this in my Script
> 
> Thanks for any input 
> 

-- 
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 on the web visit 
https://groups.google.com/d/msgid/bbedit/020F25AF-10A4-40AD-BD2D-A54F31F013F4%40barebones.com.

Reply via email to