任何语言的示例代码-Python / shell脚本/任何命令
需要在sample.txt中打印格式为B------123
(以B开头并以3 didgit数字结尾)的所有单词
例如:
[a] uname – Print kernel and system information abcdef12
[b] lsb_release – Print distribution-specific information b4555arcgujsn123
[c] /proc/version file – Print running kernel information bknkkgj4nk345
o / p:
b4555arcgujsn123
bknkkgj4nk345