在一个目录中,我有以下文件:
myfile_v01.txt myfile_v02.txt myfile_v03.txt
如何制作一个 bash 脚本来检测最后一个版本的值并将最后一个版本的文件名放入一个变量中?
bash ls
bash ×1
ls ×1