github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/docs/parser/greater-than-greater-than.md (about)

     1  # `>>` Append File
     2  
     3  > Writes STDIN to disk - appending contents if file already exists
     4  
     5  ## Description
     6  
     7  Redirects output to file.
     8  
     9  If a file already exists, the contents will be appended to existing contents.
    10  Otherwise a new file is created.
    11  
    12  ## Usage
    13  
    14  ```
    15  <stdin> >> filename
    16  ```
    17  
    18  ## Examples
    19  
    20  ```
    21  g * >> files.txt
    22  ```
    23  
    24  ## Synonyms
    25  
    26  * `>>`
    27  * `fappend`
    28  
    29  
    30  ## See Also
    31  
    32  * [`->` Arrow Pipe](../parser/pipe-arrow.md):
    33    Pipes STDOUT from the left hand command to STDIN of the right hand command
    34  * [`<read-named-pipe>`](../parser/namedpipe.md):
    35    Reads from a Murex named pipe
    36  * [`?` STDERR Pipe](../parser/pipe-err.md):
    37    Pipes STDERR from the left hand command to STDIN of the right hand command (DEPRECATED)
    38  * [`g`](../commands/g.md):
    39    Glob pattern matching for file system objects (eg `*.txt`)
    40  * [`pipe`](../commands/pipe.md):
    41    Manage Murex named pipes
    42  * [`tmp`](../commands/tmp.md):
    43    Create a temporary file and write to it
    44  * [`|>` Truncate File](../parser/greater-than.md):
    45    Writes STDIN to disk - overwriting contents if file already exists
    46  * [`|` POSIX Pipe](../parser/pipe-posix.md):
    47    Pipes STDOUT from the left hand command to STDIN of the right hand command
    48  
    49  <hr/>
    50  
    51  This document was generated from [builtins/core/io/file_doc.yaml](https://github.com/lmorg/murex/blob/master/builtins/core/io/file_doc.yaml).