Open .csv by specifying column widths on command line

Hi Paul,
I've tried to create an ods file to use as template as suggested.
I've set my intended column widths in it, enabled line wrapping, then I saved it.

Then I ran:
soffice -n template.ods --infilter=CSV:44,34,UTF8 myfile.csv

Unfortunately what actually happens is that LibreOffice opens two files:
- a new file based on my template, which contains no data
- my csv file, without applying my template to it

Calc template files end in .ots

Although I used Writer to make my macros, Writer does not export CSV files correctly, or should I say without spaces as Calc does, I guess you will have to make your macros in Calc. (Version: 6.3.5.2).

Hope this helps.