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 38 lines (34 sloc) 0.408 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 38
## -*- shell-script -*-

TOOL=dadd
CMDLINE="2011-W01-02"

## STDIN
stdin=$(mktemp "/tmp/tmp.XXXXXXXXXX")
cat > "${stdin}" <<EOF
0d
-1d
-2d
-3
-4d
-5
-6d
-7
-8d
-9d
-10d
EOF

## STDOUT
stdout=$(mktemp "/tmp/tmp.XXXXXXXXXX")
cat > "${stdout}" <<EOF
2011-W01-02
2011-W01-01
2010-W52-07
2010-W52-06
2010-W52-05
2010-W52-04
2010-W52-03
2010-W52-02
2010-W52-01
2010-W51-07
2010-W51-06
EOF

## dadd.54.dt ends here
Something went wrong with that request. Please try again.