Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有一个名为 output1 的文件
如何仅匹配第 3 到第 5 位的数字以便拥有“tpu”?
谢谢。
在 bash 中:
i=output1 echo ${i:2:3}