ZhangZhihui's Blog |
|
||
2020年11月28日
摘要:
scnzzh@ZUBT:~$ printf %d "A" bash: printf: A: invalid number 0scnzzh@ZUBT:~$ printf %d "'A" 65scnzzh@ZUBT:~$ printf "\\$(printf %o 65)" Ascnzzh@ZUBT:~ 阅读全文
摘要:
If you have a known octal or hexadecimal value (at script-writing time), you can just use printf: # POSIX printf '\047\n' # bash/ksh/zsh and a few oth 阅读全文
|
Copyright © 2024 ZhangZhihuiAAA
Powered by .NET 9.0 on Kubernetes |