2005-01-04 21:20:04 +00:00
|
|
|
.TH DIAL 1
|
|
|
|
.SH NAME
|
|
|
|
dial \- connect to a remote service
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B dial
|
|
|
|
[
|
|
|
|
.B -e
|
|
|
|
]
|
|
|
|
.I addr
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.I Dial
|
|
|
|
connects to the network address
|
|
|
|
.I addr
|
|
|
|
(see
|
|
|
|
.IR dial (3))
|
|
|
|
and then copies data from the connection to standard output,
|
|
|
|
and from standard input to the connection.
|
|
|
|
.PP
|
|
|
|
By default,
|
|
|
|
.I dial
|
|
|
|
exits when end of file is reached on standard input or on the network connection.
|
|
|
|
The
|
|
|
|
.B -e
|
|
|
|
flag causes
|
|
|
|
.I dial
|
|
|
|
to exit only in response to end of file on the network connection.
|
|
|
|
.SH SOURCE
|
2005-01-11 17:37:33 +00:00
|
|
|
.B \*9/src/cmd/dial.c
|
2005-01-04 21:20:04 +00:00
|
|
|
.SH SEE ALSO
|
|
|
|
.IR dial (3)
|