This website requires JavaScript.
Explore
Help
Register
Sign In
emo
/
busybox
Watch
1
Star
0
Fork
0
You've already forked busybox
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
5479c435fd
busybox
/
shell
/
hush_test
/
hush-heredoc
/
heredoc5.tests
13 lines
113 B
Plaintext
Raw
Normal View
History
Unescape
Escape
add a pathological test case for here doc related to eof marker and other ugly corner cases
2009-04-07 11:36:05 +05:30
f=1
cat <<- EOF-f
exit EOF-f
"
echo $f
hush: fix heredoc expansion of $var and `cmd` function old new delta expand_pseudo_dquoted - 104 +104 setup_heredoc 215 275 +60 done_word 669 691 +22 parse_stream 1899 1902 +3 setup_redirects 196 191 -5 free_pipe 189 183 -6 expand_variables 2349 2229 -120 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/3 up/down: 189/-131) Total: 58 bytes
2009-04-08 01:26:55 +05:30
echo `echo Hello World`
add a pathological test case for here doc related to eof marker and other ugly corner cases
2009-04-07 11:36:05 +05:30
moo
EOF-f
EOF-f f
EOF-f
EOF-f
hush: echo \2>file fix
2009-04-08 14:59:14 +05:30
echo Ok
Reference in New Issue
Copy Permalink