Skip to main content

>> Append File

Laurence MorganLess than 1 minute

>> Append File

Writes STDIN to disk - appending contents if file already exists

Description

Redirects output to file.

If a file already exists, the contents will be appended to existing contents. Otherwise a new file is created.

Usage

<stdin> >> filename

Examples

g * >> files.txt

Synonyms

  • >>
  • fappend

See Also

  • -> Arrow Pipe: Pipes STDOUT from the left hand command to STDIN of the right hand command
  • <pipe> Read Named Pipe: Reads from a Murex named pipe
  • ? STDERR Pipe: Pipes STDERR from the left hand command to STDIN of the right hand command (DEPRECATED)
  • g: Glob pattern matching for file system objects (eg *.txt)
  • pipe: Manage Murex named pipes
  • tmp: Create a temporary file and write to it
  • |> Truncate File: Writes STDIN to disk - overwriting contents if file already exists
  • | POSIX Pipe: Pipes STDOUT from the left hand command to STDIN of the right hand command

This document was generated from builtins/core/io/file_doc.yamlopen in new window.

Last update:
Contributors: Laurence Morgan