From a5f7097d9ab59d1fd9d21b1b22ac87c3e0877ffe Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Fri, 25 Apr 2003 11:18:50 +0000 Subject: 18472: spelling corrections --- Functions/TCP/tcp_alias | 2 +- Functions/TCP/tcp_close | 2 +- Functions/TCP/tcp_read | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Functions/TCP') diff --git a/Functions/TCP/tcp_alias b/Functions/TCP/tcp_alias index 9d6a28da0..59fe67814 100644 --- a/Functions/TCP/tcp_alias +++ b/Functions/TCP/tcp_alias @@ -85,7 +85,7 @@ for arg in $*; do index=${array[(i)$alias]} array=(${array[1,index-1]} ${array[index+1,-1]}) if [[ -z "$array" ]]; then - unset "tcp_aliase[$fd]" + unset "tcp_aliases[$fd]" else tcp_aliases[$fd]="$array" fi diff --git a/Functions/TCP/tcp_close b/Functions/TCP/tcp_close index 61508f4c6..9c876786c 100644 --- a/Functions/TCP/tcp_close +++ b/Functions/TCP/tcp_close @@ -4,7 +4,7 @@ # -n means don't close a fake session's fd. # -q means quiet. # -# Accepts the -s and -l arguments for consistenty with other functions, +# Accepts the -s and -l arguments for consistency with other functions, # but there is no particular gain in using them emulate -L zsh setopt extendedglob cbases diff --git a/Functions/TCP/tcp_read b/Functions/TCP/tcp_read index 97da8bf21..d9aa47e0e 100644 --- a/Functions/TCP/tcp_read +++ b/Functions/TCP/tcp_read @@ -87,7 +87,7 @@ while getopts "abdl:qs:t:T:u:" opt; do done ;; - # Don't print an error mesage if there is no TCP connection, + # Don't print an error message if there is no TCP connection, # just return 1. (q) quiet=1 ;; -- cgit 1.4.1