Word格式逻辑,在下面寻找示例

时间:2019-11-29 13:45:48

标签: unix

任何语言的示例代码-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

0 个答案:

没有答案