Skip to content
Tcl Source Code Artifact [e8d7c96cc4]
Login

Artifact [e8d7c96cc4]

Artifact e8d7c96cc4ae2dbd7fab940940350392ff6c4559dd4d692bead609710e646151:


---
CommandName: read
ManualSection: n
Version: 8.1
TclPart: Tcl
TclDescription: Tcl Built-In Commands
Links:
 - chan(n)
Copyright:
 - Copyright (c) 1993 The Regents of the University of California.
 - Copyright (c) 1994-1996 Sun Microsystems, Inc.
---

# Name

read - Read from a channel

# Synopsis

::: {.synopsis} :::
[read]{.cmd} [-nonewline]{.optlit} [channel]{.arg}
[read]{.cmd} [channel]{.arg} [numChars]{.arg}
:::

# Description

The **read** command has been superceded by the [chan read][chan] command which supports the same syntax and options.


[chan]: chan.md