Source

dateutils / test / dgrep.8.dt

Full commit
## -*- shell-script -*-

TOOL=dgrep
CMDLINE="-o \\<2012-03-01"

## STDIN
stdin=$(mktemp)
cat > "${stdin}" <<EOF
Feb	2012-02-28
Feb	2012-02-29	leap day
Mar	2012-03-01
Mar	2012-03-02
EOF

## STDOUT
stdout=$(mktemp)
cat > "${stdout}" <<EOF
2012-02-28
2012-02-29
EOF

## dgrep.8.dt ends here