sscanf equivalent in linux bash

后端 未结 0 1606
你的背包
你的背包 2020-11-29 06:45

I want to extract a number that appears in the middle of a script in linux bash:

APPLES_STR="We have 123 apples."

In C I\'d do some

相关标签:
回答
  • 消灭零回复
提交回复
热议问题