我在写bash脚本
我的文件如下: file="${nodeID}_00000_19700101010${ts}_udp_filtered.pcap"。是否可以代替00000使用任何5位数字?我考虑过使用
file="${nodeID}_00000_19700101010${ts}_udp_filtered.pcap"
00000
file="${nodeID}_*_19700101010${ts}_udp_filtered.pcap"
file="${nodeID}_
_19700101010${ts}_udp_filtered.pcap"
有时我有00001,有时是00004,等等。
bash filenames
bash ×1
filenames ×1