read man page on OSF1

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
OSF1 logo
[printable version]

read(n)			     Tcl Built-In Commands		       read(n)

______________________________________________________________________________

NAME
       read - Read from a channel

SYNOPSIS
       read ?-nonewline? channelId

       read channelId numBytes
_________________________________________________________________

DESCRIPTION
       In  the	first  form, the read command reads all of the data from chan‐
       nelId up to the end of the file.	 If the -nonewline switch is specified
       then  the  last	character of the file is discarded if it is a newline.
       In the second form, the extra argument  specifies  how  many  bytes  to
       read.   Exactly that many bytes will be read and returned, unless there
       are fewer than numBytes left in the file;  in this case all the remain‐
       ing bytes are returned.

       If  channelId  is in nonblocking mode, the command may not read as many
       bytes as requested:  once all available input has been read,  the  com‐
       mand  will  return  the data that is available rather than blocking for
       more input.  The -nonewline switch is ignored if	 the  command  returns
       before reaching the end of the file.

       Read translates end-of-line sequences in the input into newline charac‐
       ters according to the -translation option for  the  channel.   See  the
       manual entry for fconfigure for details on the -translation option.

SEE ALSO
       eof(n), fblocked(n), fconfigure(n)

KEYWORDS
       blocking,  channel, end of line, end of file, nonblocking, read, trans‐
       lation

Tcl				      7.5			       read(n)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net