number of tokens in bash variable

前端 未结 7 2174
挽巷
挽巷 2020-12-09 08:41

how can I know the number of tokens in a bash variable (whitespace-separated tokens) - or at least, wether it is one or there are more.

7条回答
提交回复
热议问题