Hello Patrick,
Thanks for your answer.
I'll try to be more precise.
It seems the tendency is to use UTF8 no BOM (default) and UTF-16 with BOM. But MICROSOFT Excel (on My Mac, Saves as UTF8+BOM(default) with Windows CRLF (!) 😖.
Context : I have a Shell Script that :
- reads a CSV file with Paths to files (in a folder hierarchy of various folders/subfolders),
- Applies optional extension filters,
- downloads files to a folder as a flat structure (all on one level),
- The Script has also process & error logging,…
- Moves the processed CSV Files with the logs (With client Name/timestamp…)
I did not use AppleScript.
So either my Shell Script misses something or I need to launch BBEDIT just for this conversion, prior to the Script execution.
Do BBEDIT cmd line Tools handle this? I am not sure from my quick read of the manual.
Would I need some AppleScript to trigger BBEdit & handle the save Dialog options?
Note, on my last test & log, I get a "xargs: unterminated quote" error, and no Files processed.
I can share the Script if that helps
Thanks a lot