Repository Details
Shared by
HelloGitHub Rating
0 ratings
该书有好多复制就能用的 bash 函数,我愿称其为 bash 的“奇技淫巧”
Past 7 days Received -3 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周二 | 41,715 | — |
| 周三 | 41,713 | -2 |
| 周四 | 41,710 | -3 |
| 周五 | 41,711 | +1 |
| 周六 | 41,712 | +1 |
| 周日 | 41,710 | -2 |
| 周一 | 41,712 | +2 |
41.7k
Stars
No
Chinese
Shell
Language
No
Active
21
Contributors
62
Issues
No
Organization
None
Latest
4k
Forks
MIT
License

该书有好多复制就能用的 bash 函数,我愿称其为 bash 的“奇技淫巧”。比如把字母转为大写的函数:
```
upper() {
# Usage: upper "string"
printf '%s\n' "${1^^}"
}
$ upper "hello"
HELLO
```
Included in:
Vol.57
Comments
Rating:
No comments yet