繁体   English   中英

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

[英]word format logic looking for a sample below

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM