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

命令用于管道时,则不要彩色输出 #5

Closed
oldratlee opened this issue Mar 13, 2013 · 1 comment
Closed

命令用于管道时,则不要彩色输出 #5

oldratlee opened this issue Mar 13, 2013 · 1 comment
Assignees

Comments

@oldratlee
Copy link
Owner

show-busy-java-threads.sh会彩色输出。

@oldratlee
Copy link
Owner Author

-c-p-f可以分别判断/dev/stdin是否是字符设备(这里即键盘),是否是管道,和是否是文件。

这里有说明: 在Bash下输出彩色的文本

@ghost ghost assigned oldratlee Mar 17, 2013
oldratlee added a commit that referenced this issue Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant