Source

dateutils / test / dgrep.7.dt

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

TOOL=dgrep
CMDLINE="=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
Mar	2012-03-01
EOF

## dgrep.7.dt ends here