diff options
Diffstat (limited to 'new')
-rwxr-xr-x | new | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +#!/bin/bash + +if [ "x$1" == "x" ]; then + D=$(date +%d) +else + D=$1 +fi + +cp -r skel day$D +sed -i "s/DAY = /DAY = ${D}/" day${D}/Makefile |