gantt icon indicating copy to clipboard operation
gantt copied to clipboard

Can you show some ready examples?

Open ivan-nginx opened this issue 6 years ago • 2 comments

image

image

What command line parameters needed? Can you give some examples with parameters and files?

ivan-nginx avatar Dec 17 '18 12:12 ivan-nginx

any news here? It looks so promising but doesn't run nicely. Such a pity.

Depends on the sh version:

ok: GNU bash, Version 5.1.4(1)-release (x86_64-pc-linux-gnu)
fails: GNU bash, version 3.2.57(1)-release (arm64-apple-darwin20)
fails: dash (2003)

mro avatar Oct 28 '22 08:10 mro

On my laptop (with Arch Linux) gantt works with dash (my /bin/sh) when I apply pull request #4 plus this patch:

diff --git a/bin/gantt b/bin/gantt
index 47c8e11..aa0c74a 100755
--- a/bin/gantt
+++ b/bin/gantt
@@ -386,7 +386,7 @@ main () {(
                characters_offset="0"
                total_hours="0"
                while read -r TASK; do
-                       printf "\\e[1m\\e[4m%s\\e[0m\\n" "${TASK}"
+                       printf "\033[1m\033[4m%s\033[0m\n" "${TASK}"
                        SUBTASKS="$(input_task_get_subtasks "${INPUT:?}" "${TASK}")"
                        while read -r SUBTASK; do
                                SUBTASK_NAME="$(subtask_get_name "${SUBTASK}")"

MaxGyver83 avatar Jan 18 '23 20:01 MaxGyver83