I have a CSV file written by a python script of mine. I want to make a shell script that opens the file in read-only mode, which I have done.
#!/bin/sh libreoffice --view ~/Documents/timeclock.csv
My problem is that every time I open it, the Text Input dialog opens. This is an example of what the file looks like. It's semicolon separated. How can I get libreoffice to either use pre-set settings, or command line arguments?
;;;;;=SUM(D2:D100) ;;;;;15 ;;;;;=F1*F2 =DATE(2012,10,13);=TIME(10,21,56);=TIME(18,45,27);=ABS(INDIRECT("B" & ROW()) - INDIRECT("C" & ROW()))*24 =DATE(2012,10,21);=TIME(10,23,16);=TIME(17,17,12);=ABS(INDIRECT("B" & ROW()) - INDIRECT("C" & ROW()))*24