Skip to main content
Source Link
zwol
  • 3.6k
  • 3
  • 16
  • 14

This is a test to see if the new highlighter handles certain dark corners of shell syntax better than the old one. Code snippet from this old post. YES is a comment, NO isn't.

echo 1 # YES
echo 2 $# NO foo# NO
echo 3;#YES
# YES
cat << E
# NO
E
echo 4 " # NO \" # NO" \" # YES
echo "5
# NO
$(echo 6 # YES
)
`echo 7 \" # NO \"`
"
eval 'echo 8 # NO, then YES'
Post Made Community Wiki by zwol