Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you show some ready examples? #3

Open
ivan-nginx opened this issue Dec 17, 2018 · 2 comments
Open

Can you show some ready examples? #3

ivan-nginx opened this issue Dec 17, 2018 · 2 comments

Comments

@ivan-nginx
Copy link

ivan-nginx commented Dec 17, 2018

image

image

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

@ivan-nginx ivan-nginx changed the title Dont work under CentOS 7? Don't work under CentOS 7? Dec 17, 2018
@ivan-nginx ivan-nginx changed the title Don't work under CentOS 7? Can you show some ready examples? Dec 17, 2018
@mro
Copy link

mro commented Oct 28, 2022

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)

@MaxGyver83
Copy link

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}")"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants