Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 37 lines (33 sloc) 0.515 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
## -*- shell-script -*-

TOOL=dconv
CMDLINE="-i '%Y-%m-%db'"
## tests how optional the b in the input is

## STDIN
stdin=$(mktemp "/tmp/tmp.XXXXXXXXXX")
cat > "${stdin}" <<EOF
2010-03-01
2010-03-02
2010-03-03
2010-03-04
2010-03-05
2010-03-06
2010-03-07
2010-03-08
2010-03-09
2010-03-10
EOF
 
## STDOUT
stdout=$(mktemp "/tmp/tmp.XXXXXXXXXX")
cat > "${stdout}" <<EOF
2010-03-01b
2010-03-02b
2010-03-03b
2010-03-04b
2010-03-05b
2010-03-06b
2010-03-07b
2010-03-08b
2010-03-09b
2010-03-10b
EOF

## dconv.26.dt ends here
Something went wrong with that request. Please try again.