2022-04-25 19:34:35 +02:00

49 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

:::{note} You are reading the help for the development version. **The current release version is Neırssi 1.3.**
:::
# cat
<!-- comment
Please submit changes to
- https://github.com/ailin-nemui/irssi/blob/master/docs/help/in/cat.in
- https://github.com/ailin-nemui/irssi/blob/master/src/fe-common/core/fe-core-commands.c
endcomment -->
## Syntax ##
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:3ch"><code><span class="synB">CAT</span> <span class="syn10">[<span class="syn">-window</span>]</span> <span class="synB05">&lt;file></span> <span class="syn10">[<span class="syn09">&lt;seek position></span>]</span></code></pre></div>
## Parameters ##
| | |
| --- | --- |
| `-window`: | Displays the output in the active window. |
The file to display and optionally a position to seek in the file,
in bytes.
## Description ##
Displays the contents of the specified file in the active window if -window
is specified, otherwise to the closest matching window depending on levels.
The seek position parameter is used internally to display away logs, if
omitted the whole file is shown.
## Examples ##
/CAT -window /etc/network/interfaces
/CAT /home/mike/resume.txt
/CAT contact_details.txt
## See also ##
[CD](/documentation/help/cd), [EXEC](/documentation/help/exec)