Bug#1121061: libreoffice: undocumented limit of 249 arguments
Rene Engelhard <[email protected]>
| Newsgroups | gmane.linux.debian.devel.openoffice |
|---|---|
| Organization | Debian Project |
| Message-ID | <7097a203-7bc7-4d62-8017-e0fa05615614__24852.1857823775$1763761046$gmane$org@debian.org> |
Hi again, Am 21.11.25 um 22:27 schrieb Rene Engelhard: > Am 20.11.25 um 13:20 schrieb Francesco Potortì: >> When libreoffice is called from the command line for batch processing with --convert-to it apparently forces a limit on the number of arguments without telling. >> >> In my case, when giving the names of 371 files on the command line, it starts working and printing two lines for each processed file until 249 files are processed, then it hangs. >> >> If I give it 249 file arguments, it works without problems. The command line is: >> >> /usr/lib/libreoffice/program/oosplash --convert-to csv:Text - txt - csv (StarCalc):44,,,,,,,,,,,3 --outdir ./tmp.GYzB1YV6z1 [ 42-char file names] > > I can't even reproduce this > > - created 250 files, each with 42char file names > > - ran --convert-to pdf > > Works: > > rene@frodo:~/test$ echo -n "000000000000000000000000000000000000000001" | wc -c && for i in `seq -w 0000000000000000000000000000000000000000001 0000000000000000000000000000000000000000251`; do touch echo $i > $i; done && ls -1 0* | wc -l; libreoffice --convert-to pdf * && ls -1 *.pdf | wc -l forgot to remove the touch here after initial experiments, but even with correct echo $i > $i (-> with a non-empty file..) etc it works. Regards, Rene