shithub: kwa

ref: 11e0cd792213373300d37a6a7ad3157f28416299
dir: /test/T.csconcat/

View raw version
#!/bin/rc
echo T.csconcat: test constant string concatenation

$awk '
BEGIN {
	$0 = "aaa"
	print "abcdef" " " $0
}
BEGIN { print "hello" "world"; print helloworld }
BEGIN {
 	print " " "hello"
 	print "hello" " "
 	print "hello" " " "world"
 	print "hello" (" " "world")
}
' > foo1

cat << 'EOF' > foo2
abcdef aaa
helloworld

 hello
hello 
hello world
hello world
EOF

diff foo1 foo2 || echo 'BAD: T.csconcat (1)'