Skip to content
Snippets Groups Projects
Commit 6089ff29 authored by Jakob Moser's avatar Jakob Moser
Browse files

Document changes in output

parent 9eb99c1e
No related branches found
No related tags found
No related merge requests found
Pipeline #4544 passed
......@@ -33,6 +33,8 @@ sudo docker run \
This will take a few seconds. The parses will then be output to the command line using XLE's own XML export format. If you want to store the output in a file, append `> name_of_your_file.xml` at the end of the command.
If no parses are generated, the container will exit with exit code `42` and write the XLE shell output to stderr.
<details>
<summary>Advanced information</summary>
......@@ -89,7 +91,9 @@ It then executes `xle` using the `xvfb-run` wrapper (which ensures `xle` can acc
:books: [Ubuntu Manpage: xvfb-run - run specified X client or command in a virtual X server environment][xvfb-run]
As a final step, `cat` is used to output the export file to the standard output.
As a final step, `cat` is used to output the export file to the standard output or to output the XLE log to standard error.
:books: [Answer to "echo that outputs to stderr" by Brandon Rhodes on Stack Overflow][stderr-so]
[xle]:https://ling.sprachwiss.uni-konstanz.de/pages/xle/
[xvfb]:https://blog.kagesenshi.org/2007/06/running-x-applications-headless-using.html
......@@ -99,3 +103,4 @@ As a final step, `cat` is used to output the export file to the standard output.
[3rd-repo-lu]:https://www.linuxuprising.com/2021/01/apt-key-is-deprecated-how-to-add.html
[narnold-xle]:https://www.cl.uni-heidelberg.de/~narnold/xle/posts/2021-05-25-syntax-xle-mad.html
[xvfb-run]:https://manpages.ubuntu.com/manpages/trusty/man1/xvfb-run.1.html
[stderr-so]:https://stackoverflow.com/a/11422223/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment