Hi, L18L.L18L wrote:Karl Godt wrote:2013 06:June 01:watday 02:disday 03:dongsday ...
would be really helpfulCode: Select all
f=/tmp/bla;echo;date "+%Y %m:%B">$f;m=`cat $f`;y=${m:0:4};m=${m:5:2};for i in `seq 31`;do date -d $y-$m-$i "+%d:%A">>$f 2>/dev/null;done;grep -v '-' $f|tr '\n' ' ';echo
Interesting, this "one-liner". With the tr \n removed, it can form the basis of a quick and easy agenda in txt format. (168 bytes rather than 1Mb for osmo!)
Thanks for the hunch.
musher0