| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
same JVM instance. Multiple commands are specified sequentially (e.g. ac.sh -ptx volume.po afile afile.txt -bas volume.po bfile bfile.bas). This required adding support for several operations to read files instead of STDIN. However, STDIN support remains for those who want to use it, though they need to specify '-' as the file.
|
This is a breaking change to command-line interface. It breaks all existing documentations/ instructions/ tutorials. How about the other way round? Default to stdin and enable file input by a switch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Changed command line parsing to allow for multiple operations in the same JVM instance. Multiple commands are specified sequentially (e.g. ac.sh -ptx volume.po afile afile.txt -bas volume.po bfile bfile.bas).
This required adding support for several operations to read files instead of STDIN. However, STDIN support remains for those who want to use it, though they need to specify '-' as the file. (e.g. ac.sh -ptx volume.po afile - <afile.txt)
The point of doing this was that I have a .po that I am writing 1000 files to. Doing this file-by-file with the existing ac.sh mechanism takes nearly 6 minutes because of the constant bring-up/tear-down of a JVM. With this change, the same task can be done in under 20 seconds.