|> Truncate File
Less than 1 minute
|>
Truncate File
Writes STDIN to disk - overwriting contents if file already exists
Description
Redirects output to file.
If a file already exists, the contents will be truncated (overwritten). Otherwise a new file is created.
Usage
<stdin> |> filename
Examples
g * |> files.txt
Synonyms
|>
>
fwrite
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>>
Append File: Writes STDIN to disk - appending contents if file already exists?
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 pipestmp
: Create a temporary file and write to it|
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.yaml.