原始问题:
帮我写一段识别csv文件的shell代码
!/bin/bash
This script is used to identify csv files in the current directory.
echo "Identifying csv files in the current directory..."
for file in ls; do
if [[ ${file##*.} == "csv" ]]; then
echo "$file is a csv file."
fi
done
Prev:酒店针孔隐形摄像头怎么检测