Skip to content
Tcl Source Code Artifact [f0deb73e5d]
Login

Artifact [f0deb73e5d]

Artifact f0deb73e5d9f9e223c66051c4b60e9889b9e47194df5f272012964bd8ce40ded:


---
CommandName: read
title: 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