update_tasks: fix minor error in regexp

This commit is contained in:
Frans Pop 2008-12-05 22:30:18 +00:00
parent 464531dcd7
commit df0f50fdd4
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ expand_task_list () {
task_essential="$(grep -Ev "^(#.*)?(.*-)?[[:space:]]*$" $tasklist)"
# Select only secondary tasks
task_extra="$(grep -Ev "^(#.*)?[[:space:]]*$" $tasklist | \
grep -E "(.*-)[[:space:]]*$" | sed "s/[[:space:]]*-.*$//")"
grep -E "(.*-)[[:space:]]*$" | sed "s/[[:space:]]\+-.*$//")"
echo "# Main tasks" >$outbase.essential
echo "$task_essential" >>$outbase.essential