如何在Win10上安装jot命令

How to install jot command on Win10

如何在Win10上安装jot命令 因为我用Git Bash到运行 a xxx.sh 并显示如下异常:

jot: command not found

我该如何解决这个问题?

jot (seen here) is a BSD命令。

所以除非你能得到它 sources (usr.bin/jot/jot.c) 并以某种方式为 mingw 重新编译它,否则我看不到它在 Linux 上可用或作为 exe 在 Windows 上可用。


2020 年 11 月更新:DimP adds in

For anyone looking for an answer on Debian etc. environments, Ubuntu has Athena-jot:

sudo apt-get update sudo apt-get install athena-jot