diff --git a/html/30second.html b/html/30second.html index 4a3ac3c2d..38cef96ff 100644 --- a/html/30second.html +++ b/html/30second.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/advanced.html b/html/advanced.html index ec369652e..b4abe30b0 100644 --- a/html/advanced.html +++ b/html/advanced.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/color.html b/html/color.html index ecc060cb8..37e985f0d 100644 --- a/html/color.html +++ b/html/color.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/config.html b/html/config.html index 96c23422c..6ad919b81 100644 --- a/html/config.html +++ b/html/config.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/custom.html b/html/custom.html index 02ae73e5b..fa03a5249 100644 --- a/html/custom.html +++ b/html/custom.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/date.html b/html/date.html index 68ff201a0..d113993f7 100644 --- a/html/date.html +++ b/html/date.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/faq.html b/html/faq.html index 289c58d10..73c47fc2c 100644 --- a/html/faq.html +++ b/html/faq.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/filter.html b/html/filter.html index a561bdd58..373be27f5 100644 --- a/html/filter.html +++ b/html/filter.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/import.html b/html/import.html index de227c2a7..3a488af36 100644 --- a/html/import.html +++ b/html/import.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/links.html b/html/links.html index 15642d0b2..609f023a4 100644 --- a/html/links.html +++ b/html/links.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/recur.html b/html/recur.html index 5d7a7106a..a6963b842 100644 --- a/html/recur.html +++ b/html/recur.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/sequence.html b/html/sequence.html new file mode 100644 index 000000000..aa556ac3e --- /dev/null +++ b/html/sequence.html @@ -0,0 +1,154 @@ + + + + Task Usage + + + + + +
+ + + + + + +
+ + +
+
+
+
+

ID Sequences

+
+

+ Some task commands require an ID to be specified. For example: +

+ +
% task 3 done
+ +

+ This marks a single task as done. But if you wanted to mark + several tasks as done, you could use: +

+ +
% task 3,4,5 done
+ +

+ Which would mark tasks 3, 4 and 5 as all done. In this example, + the three IDs are consecutive, which means you could also have + entered: +

+ +
% task 3-5 done
+ +

+ Or in a more complex example: +

+ +
% task 1,3-5,12 23-25 done
+ +

+ This would mark tasks 1, 3, 4, 5, 12, 23, 24 and 25 as done. + Note that this example uses two sequences, separated by a space. +

+ +

+ You must be careful though. Task tries very carefully to do + the right thing when it interprets the command line, but must + still impose some rules so that it can unambiguously read the + command. If you use one or more sequences, then they must + appear on the command line adjacent to each other. If they + are separated by something else, then task assumes the second + and subsequent set is not a sequence. Here is an example + of this: +

+ +
% task 3 Order part number 4-123
+ +

+ Clearly the 4-123 is a part number, and not a sequence. + Task is being asked to modify the description of task 3 to be + "Order part number 4-123". Note that the ID is separated + from the part number by something other than a sequence. + Here is a bad example that task will misinterpret: +

+ +
% task 3 4-123 is back-ordered, try again next week
+ +

+ The intent here is that task 3 have its description modified to be + "40123 is back-ordered, try again next week", but will be + misinterpreted as tasks 3, 4, 5, 6 ... 123 will all be modified + to have the description "is back-ordered, try again next week". + The solution is to quote the whole description: +

+ +
% task 3 "4-123 is back-ordered, try again next week"
+
+ +
+
+
+

+ Copyright 2006-2009, P. Beckingham. All rights reserved. +

+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ + + +
+ +
+ + + + + + + diff --git a/html/setup.html b/html/setup.html index bf8109565..2cbcad404 100644 --- a/html/setup.html +++ b/html/setup.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/shadow.html b/html/shadow.html index 63285866b..1488a0167 100644 --- a/html/shadow.html +++ b/html/shadow.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/shell.html b/html/shell.html index d868b5bec..661f3723c 100644 --- a/html/shell.html +++ b/html/shell.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/simple.html b/html/simple.html index 1b201cbb5..c256422fd 100644 --- a/html/simple.html +++ b/html/simple.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ diff --git a/html/task.html b/html/task.html index b8a482b59..ac3e2038e 100644 --- a/html/task.html +++ b/html/task.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ @@ -50,7 +49,6 @@
  • Interacting with the Shell
  • Configuring Task
  • Color -
  • Task Command Usage
  • Recurring Tasks
  • Date Handling
  • Old Versions @@ -59,6 +57,7 @@
  • Custom Reports
  • Data Import
  • Frequently Asked Questions +
  • ID Sequences

    @@ -120,6 +119,10 @@ Charles Yun).

  • Now writes a sample "defaultwidth" configuration variable to the default .taskrc file (thanks to T. Charles Yun). +
  • Task allows commands that require an ID to now be given a sequence, which + is a set of IDs. This allows commands like "task delete 1 2 5-10,12". +
  • Fixed bug in the ghistory report, which caused it to only show a new + month if a task was added during that month.

    diff --git a/html/versions.html b/html/versions.html index 0ec6168ab..957f38a44 100644 --- a/html/versions.html +++ b/html/versions.html @@ -20,7 +20,6 @@ Shell Configuration Colors - Usage Recurrence Date Handling FAQ