# $Id: TODO,v 1.5 2009/03/12 19:19:01 ksb Exp $ The syntax here is poor, and the documentation weak. Remove mkcmd's parsing and use the command-line more like find(1) each option takes a parameter list and we "parse" it to compute the results: format spec date|time|scalar compare date|time|scalar date|time|scalar # set exit code ifelse date|time date|time equal otherwise # compare and eval add date|time|scalar date|time|scalar # add, subtract subtract " " multiply " " divide " " intput string # parse date in ctime-ish format (atotm) \( expression \) # precidence over-ride or # logical or and # logical and ctime weekday month dom HH:MM:SS zone year # convert to date ydmms Years Days Hours Minutes Seconds # convert to time # aliases attime expression => format at-time-logic expression print date|time|scalar # same as `format %c' the default command is "print" at the top level if not "compare 2" -- ksb