diff options
author | Nat Lasseter <user@4574.co.uk> | 2019-12-01 11:01:31 +0000 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2019-12-01 11:01:31 +0000 |
commit | 04dbc1e0b9c56198168190d45fa096c605cafd7f (patch) | |
tree | 46480cd5096d80637b6dd107348dfedb56f882d7 /new |
Initial commit
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 |