GitAlias / gitalias

Git alias commands for faster easier version control
2.43k stars 325 forks source link

"git chart" is not work #88

Closed 868618 closed 2 years ago

868618 commented 2 years ago

when i run at "git chart"

awk: calling undefined function systime source line number 1

my computer is mac m1

phdru commented 2 years ago

awk: calling undefined function systime

It's not a bug with the GitAlias. Most probably it's a problem with your version of awk. Function systime is a GNU extension implemented in gawk and mawk; perhaps it's not available in other awks.

Read man awk to find out if systime is available in your awk. If not — uninstall it and install gawk or mawk.

joelparkerhenderson commented 2 years ago

Thank you Kenny for reporting this. @phdru is correct about this being an issue with your version of awk.

I'm adding a new page right now for you, to help diagnose the issue on your system. Can you see if this page explains what you're seeing, and if you're able to follow the instructions and they fix the issue you're experiencing?

https://github.com/GitAlias/gitalias/tree/main/doc/help/awk

Thank you!

868618 commented 2 years ago

Thank you Kenny for reporting this. @phdru is correct about this being an issue with your version of awk.

I'm adding a new page right now for you, to help diagnose the issue on your system. Can you see if this page explains what you're seeing, and if you're able to follow the instructions and they fix the issue you're experiencing?

https://github.com/GitAlias/gitalias/tree/main/doc/help/awk

Thank you!

thank u , With your help, the problem was solved successfully

868618 commented 2 years ago

awk: calling undefined function systime

It's not a bug with the GitAlias. Most probably it's a problem with your version of awk. Function systime is a GNU extension implemented in gawk and mawk; perhaps it's not available in other awks.

Read man awk to find out if systime is available in your awk. If not — uninstall it and install gawk or mawk.

thank u, The problem has been solved