在我的bash脚本中,我有一个包含十六进制数字的字符串,例如hex="0x12345678".是否可以将其视为十六进制数并对其进行位移?
bash
hex="0x12345678"
bash shell sh
bash ×1
sh ×1
shell ×1