如何在没有扩展名且没有路径的情况下获取文件名?
以下给我没有扩展,但我仍然附加路径:
source_file_filename_no_ext=${source_file%.*}
bash shell scripting
bash ×1
scripting ×1
shell ×1