mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-29 00:53:23 +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
11 lines
149 B
Bash
Executable file
11 lines
149 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo "on-modify executed"
|
|
|
|
read -r TASK
|
|
read -r MODTASK
|
|
|
|
echo "Existing task $TASK modified to $MODTASK"
|
|
printf "%s\n" "$MODTASK"
|
|
|
|
exit 0
|