Commit 3ca763eb authored by Mathieu Giraud's avatar Mathieu Giraud

demo/modifiers.should: new example

parent 28fa6e24
!OPTIONS: --mod w
# Modifiers given through the !OPTIONS line apply to every test.
LANG=C cal 2001
# Here tests with `w` count all occurrences, even when they are on the same line.
$ 7 months have 31 days
7: 31
$ 11 months have 30 days or more
11: 30
# Uppercase modifiers cancel previous modifiersrs.
$ 5 lines have a '31' day
W5: 31
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment