|Anonymous | Login | Signup for a new account||2014-12-21 18:19 CET|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005937||OCaml||OCaml general||public||2013-03-03 14:41||2013-08-06 11:11|
|Target Version||Fixed in Version|
|Summary||0005937: Support for passing more parameters from external files|
|Description||A tool like "ocamldoc 3.12.1" expects so far that it gets some parameters passed on the command line. The command line length might be limited.|
I suggest to improve the way in which more data can be optionally passed by external files.
- Response files
- I am particularly interested in efficient data exchange for file names and paths from the tool "find" (and corresponding variants) which might be (temporarily) stored in other text files.
Which command option should indicate a switch to a different data source?
|Tags||No tags attached.|
|I put it in the "OCaml general" category, as ocamldoc is not the only tool of the suite who could be added such a command line option, and the code could obviously be shared among the various compilers and tools.|
Between 3.12 and 4.00 we went in the *other* direction: there was limited for response files for Windows and we removed it, feeling that command-line length limitations were large enough now for all relevant platforms that this cruft wasn't needed anymore -- removing code is one way to decrease maintenance costs.
It might be the case that a portable general-purpose mechanism for option-passing from a text-file could be useful for OCaml. You would have to propose very convincing use-cases for this to be considered for inclusion, though.
|I would like to avoid line length limitations in a portable way. I would appreciate if it will become safer to pass a long list of file names also for OCaml commands.|
|Do you really experience command line length limitation? Can you please share the details - what platform, which command?|
How likely is it to keep file lists and corresponding parameters within bounds?
Do you care for the configuration setting "ARG_MAX"?
|2013-03-03 14:41||elfring||New Issue|
|2013-03-03 14:41||elfring||Status||new => assigned|
|2013-03-03 14:41||elfring||Assigned To||=> guesdon|
|2013-08-05 11:13||guesdon||Note Added: 0010105|
|2013-08-05 11:13||guesdon||Status||assigned => acknowledged|
|2013-08-05 11:13||guesdon||Category||OCamldoc => OCaml general|
|2013-08-05 11:14||guesdon||Assigned To||guesdon =>|
|2013-08-05 11:25||gasche||Note Added: 0010108|
|2013-08-05 14:30||elfring||Note Added: 0010114|
|2013-08-06 04:47||ygrek||Note Added: 0010122|
|2013-08-06 11:11||elfring||Note Added: 0010123|
|Copyright © 2000 - 2011 MantisBT Group|