Skip to content

Instantly share code, notes, and snippets.

@boweiliu
boweiliu / README.md
Created April 10, 2018 00:21
Polyglot readme/bash script.

Polyglot readme/bash script. See the raw text of this file for details.

( : ' This text is a comment in both markdown and bash. Note that we cant use # here because markdown tries to display it as a header - unless it starts with #!, shebang. Instead we can use the bash no-op command ":" which is an alias for the bash command "true" -- see "man true". truejust returns true and ignores the arguments so we can pass whatever we like. How this comment block works: in bash, [ ] wraps atestcommand -- seeman test`.