6 comments (6 comments)0 reactions (0 reactions)1 assignee (1 assignee)Shell2,795 forks (2,795 forks)batch import
featurehelp wanted
Repository metrics
- Stars
- 7,519 stars (7,519 stars)
- PR merge metrics
- No merged PRs in 30d (No merged PRs in 30d)
Description
Mac下使用解析命令行参数出错。Mac的getopt不兼容GNU。
Mac下show-busy-java-threads出错。Mac的ps不兼容GNU。
- 比如 不支持 输出 线程
ID(即 -L 选项)。
Mac下的ps的-L是:
List the set of keywords available for the -O and -o options.
Contributor guide
- Research direction
- Analyze the script's use of getopt and ps, and adapt them for MacOS compatibility by implementing platform specific logic using 'uname' to detect the OS and replacing GNU specific options with portable alternatives.
- Tech stack
- shell
- Domain
- clideveloper experience
- Issue type
- Bug
- Prerequisites
- Shell scriptingGitMacOS terminal