Skip to content

Commit

Permalink
document ~ at start of token expanding into ${HOME}
Browse files Browse the repository at this point in the history
  • Loading branch information
rain-1 committed Jun 27, 2017
1 parent fde0e62 commit 10e7b22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/tokens.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ You can use \ at the end of a line to ignore the EOL (for making a single comman
WORD ::= WORDCH +
| `~` WORDH +

note: ~ at the start of a token gets expanded into ${HOME}.

WORDCH ::= '\' <any char>
| <any char except '\\' ' ' '\t' '\n' '#'>

Expand Down

0 comments on commit 10e7b22

Please sign in to comment.