From 1a731500e6a647a0036ad42ce19bd5728868f68f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 18 Apr 2014 00:07:36 -0400 Subject: [PATCH] Args - Updated 'run' script to exercise the old 2.0 command line examples, as well as the new 2.4.0 examples. --- src/run | 55 ++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 44 insertions(+), 11 deletions(-) diff --git a/src/run b/src/run index e562e0c9b..df0b87f61 100755 --- a/src/run +++ b/src/run @@ -1,16 +1,49 @@ # 2.0.0 command line tests: -#echo; ./args rc:x rc.debug:1 rc.hyphenate:off list pro:foo "(du<123.due or due.aft:som)" and entry '>'8/31/2011 +2w+1d /pattern/ -#echo; ./args rc:x rc.debug:1 rc.hyphenate:off list "pro:foo (du<123.due or due.aft:som) and entry >8/31/2011 +2w+1d /pattern/" -#echo; ./args rc:x rc.debug:1 1-3,5 7 or +tag modify pri:H /from/to/g -tag -#echo; ./args rc:x rc.debug:1 add pro:foo due:eom-2wk recur:monthly do the thing -#echo; ./args rc:x rc.debug:1 add pro:foo -- due:eom-2wk recur:monthly do the thing -#echo; ./args rc:x rc.debug:1 1234 done pri:H -#echo; ./args rc:x rc.debug:1 a.b\'8/31/2011 +2w+1d /pattern/ + ./args rc:x rc.debug:1 rc.hyphenate:off list pro:foo "(du<123.due or due.aft:som)" and entry '>'8/31/2011 +2w+1d /pattern/ + +echo +echo ./args rc:x rc.debug:1 rc.hyphenate:off list "pro:foo (du<123.due or due.aft:som) and entry >8/31/2011 +2w+1d /pattern/" +./args rc:x rc.debug:1 rc.hyphenate:off list "pro:foo (du<123.due or due.aft:som) and entry >8/31/2011 +2w+1d /pattern/" + +echo +echo ./args rc:x rc.debug:1 1-3,5 7 or +tag modify pri:H /from/to/g -tag +./args rc:x rc.debug:1 1-3,5 7 or +tag modify pri:H /from/to/g -tag + +echo +echo ./args rc:x rc.debug:1 add pro:foo due:eom-2wk recur:monthly do the thing +./args rc:x rc.debug:1 add pro:foo due:eom-2wk recur:monthly do the thing + +echo +echo ./args rc:x rc.debug:1 add pro:foo -- due:eom-2wk recur:monthly do the thing +./args rc:x rc.debug:1 add pro:foo -- due:eom-2wk recur:monthly do the thing + +echo +echo ./args rc:x rc.debug:1 1234 done pri:H +./args rc:x rc.debug:1 1234 done pri:H + +echo +echo ./args rc:x rc.debug:1 a.b\