diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-03-01 14:49:41 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-03-01 14:49:41 +0100 |
| commit | e57cde648e801c949ea342ca4ff372fa9d2ad25c (patch) | |
| tree | d33989dc187283ea83a2e3e85473744f953105c6 /docs/linux.rst | |
| parent | a0f278b13a1347663fd9626322b30e7b87615a0d (diff) | |
| download | minishell_test-e57cde648e801c949ea342ca4ff372fa9d2ad25c.tar.gz minishell_test-e57cde648e801c949ea342ca4ff372fa9d2ad25c.tar.bz2 minishell_test-e57cde648e801c949ea342ca4ff372fa9d2ad25c.zip | |
Added linux documentation
Diffstat (limited to 'docs/linux.rst')
| -rw-r--r-- | docs/linux.rst | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/docs/linux.rst b/docs/linux.rst index 97cff50..a994007 100644 --- a/docs/linux.rst +++ b/docs/linux.rst @@ -1,6 +1,24 @@ - Linux ----- -It will try to convert to output/status code of ``bash`` on Linux to the one on Mac. +| The output and status codes will be converted to the one of ``bash`` OSX. +| Although it mainly depends on your ``bash`` version (``3.2.57`` on the school's computers). + +Generally those differences are pretty minor, here is an example (``line n`` changes). + +Linux: + +.. code-block:: + + bash: -c: line 1: syntax error near unexpected token `newline' + bash: -c: line 1: `>' + +OSX: + +.. code-block:: + + bash: -c: line 0: syntax error near unexpected token `newline' + bash: -c: line 0: `>' +.. note:: + I've tried with ``bash5.1.4`` at home and most of the test are converted but don't be surprised if it's not the case for some of them. |
