fix typos

This commit is contained in:
tg 2011-01-30 02:18:25 +00:00
parent 45d99b9ec9
commit d7c2e16ca0
1 changed files with 12 additions and 12 deletions

24
check.t
View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/check.t,v 1.403 2011/01/30 01:35:56 tg Exp $ # $MirOS: src/bin/mksh/check.t,v 1.404 2011/01/30 02:18:25 tg Exp $
# $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $ # $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $
@ -346,7 +346,7 @@ expected-stdout:
--- ---
name: bksl-nl-ign-1 name: bksl-nl-ign-1
description: description:
Check that \newline is not collasped after # Check that \newline is not collapsed after #
stdin: stdin:
echo hi #there \ echo hi #there \
echo folks echo folks
@ -356,7 +356,7 @@ expected-stdout:
--- ---
name: bksl-nl-ign-2 name: bksl-nl-ign-2
description: description:
Check that \newline is not collasped inside single quotes Check that \newline is not collapsed inside single quotes
stdin: stdin:
echo 'hi \ echo 'hi \
there' there'
@ -368,7 +368,7 @@ expected-stdout:
--- ---
name: bksl-nl-ign-3 name: bksl-nl-ign-3
description: description:
Check that \newline is not collasped inside single quotes Check that \newline is not collapsed inside single quotes
stdin: stdin:
cat << \EOF cat << \EOF
hi \ hi \
@ -418,7 +418,7 @@ expected-stdout:
# #
name: bksl-nl-1 name: bksl-nl-1
description: description:
Check that \newline is collasped before, in the middle of, and Check that \newline is collapsed before, in the middle of, and
after words after words
stdin: stdin:
\ \
@ -430,7 +430,7 @@ expected-stdout:
--- ---
name: bksl-nl-2 name: bksl-nl-2
description: description:
Check that \newline is collasped in $ sequences Check that \newline is collapsed in $ sequences
(ksh93 fails this) (ksh93 fails this)
stdin: stdin:
a=12 a=12
@ -454,7 +454,7 @@ expected-stdout:
--- ---
name: bksl-nl-3 name: bksl-nl-3
description: description:
Check that \newline is collasped in $(..) and `...` sequences Check that \newline is collapsed in $(..) and `...` sequences
(ksh93 fails this) (ksh93 fails this)
stdin: stdin:
echo $\ echo $\
@ -479,7 +479,7 @@ expected-stdout:
--- ---
name: bksl-nl-4 name: bksl-nl-4
description: description:
Check that \newline is collasped in $((..)) sequences Check that \newline is collapsed in $((..)) sequences
(ksh93 fails this) (ksh93 fails this)
stdin: stdin:
echo $\ echo $\
@ -501,7 +501,7 @@ expected-stdout:
--- ---
name: bksl-nl-5 name: bksl-nl-5
description: description:
Check that \newline is collasped in double quoted strings Check that \newline is collapsed in double quoted strings
stdin: stdin:
echo "\ echo "\
hi" hi"
@ -516,7 +516,7 @@ expected-stdout:
--- ---
name: bksl-nl-6 name: bksl-nl-6
description: description:
Check that \newline is collasped in here document delimiters Check that \newline is collapsed in here document delimiters
(ksh93 fails second part of this) (ksh93 fails second part of this)
stdin: stdin:
a=12 a=12
@ -539,7 +539,7 @@ expected-stdout:
--- ---
name: bksl-nl-7 name: bksl-nl-7
description: description:
Check that \newline is collasped in double-quoted here-document Check that \newline is collapsed in double-quoted here-document
delimiter. delimiter.
stdin: stdin:
a=12 a=12
@ -558,7 +558,7 @@ expected-stdout:
--- ---
name: bksl-nl-8 name: bksl-nl-8
description: description:
Check that \newline is collasped in various 2+ character tokens Check that \newline is collapsed in various 2+ character tokens
delimiter. delimiter.
(ksh93 fails this) (ksh93 fails this)
stdin: stdin: