GNOME Bugzilla – Bug 645287
ssconvert -S should offer template or at least mention what to expect
Last modified: 2011-03-22 19:51:18 UTC
$ man ssconvert -S, --export-file-per-sheet Export a file for each sheet if the exporter only supports one sheet at a time. OK, but mention what the filenames will look like. We find they look like $ ls renyou.csv.0 renyou.csv.1 renyou.csv.10 renyou.csv.11 renyou.csv.2 renyou.csv.3 renyou.csv.4 renyou.csv.5 renyou.csv.6 renyou.csv.7 renyou.csv.8 renyou.csv.9 Which is wrong. They should look like $ ls renyou.csv.00 renyou.csv.01 renyou.csv.02 renyou.csv.03 renyou.csv.04 renyou.csv.05 renyou.csv.06 renyou.csv.07 renyou.csv.08 renyou.csv.09 renyou.csv.10 renyou.csv.11 In fact that is wrong too. They should look like renyou.00.csv renyou.01.csv renyou.02.csv renyou.03.csv renyou.04.csv renyou.05.csv renyou.06.csv renyou.07.csv renyou.08.csv renyou.09.csv renyou.10.csv renyou.11.csv Why don't you offer a template, like $ man gs You might want to print each page separately. To do this, send the output to a series of files "foo1.xyz, foo2.xyz, ..." using the "-sOut- putFile=" switch with "%d" in a filename template: -sOutputFile=foo%d.xyz Each resulting file receives one page of output, and the files are num- bered in sequence. "%d" is a printf format specification; you can also use a variant like "%02d".
*** Bug 645520 has been marked as a duplicate of this bug. ***
Bug 645520 is a request that such a template can reference the sheet name. Maybe "foo-%s.csv"
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.