zsh-workers
 help / color / mirror / code / Atom feed
c485c140aec433045ff9beae6a5e825d6dbf4f76 blob 324 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
emulate -L zsh
setopt extendedglob

local REPLY tfd

if [[ $# -ne 2 ]]; then
    print "Usage: $0 host port
Connect to the given host and port; send standard input." >&2
    return 1
fi

if ! ztcp $1 $2; then
    print "Failed to open connection to host $1 port $2" >&2
    return 1
fi

tfd=$REPLY

cat >&$tfd

ztcp -c $tfd
debug log:

solving c485c14 ...
found c485c14 in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).