mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-29 10:03:25 +02:00

* Update hooks to use `read -r` and `printf` This portably avoids any interpretation of backslash escapes by the shell. * Support running make_tc_task elsewhere * Add a test for backslashes in task descriptions
9 lines
107 B
Bash
Executable file
9 lines
107 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo "on-exit executed"
|
|
|
|
while read -r TASK; do
|
|
echo "New/modified task $TASK"
|
|
done
|
|
|
|
exit 0
|