unix - Adapt bash loop to be use in csh - Stack Overflow

unix - Adapt bash loop to be use in csh - Stack Overflow

瀏覽:963
日期:2025-06-10
I am trying to adapt the loop code from bash to csh: while read file; do if ! UPLOAD_FILE=$(ls "$UPLOAD_ARCHIVE_DIR"/*$file* 2>/dev/null); then echo "could not find ......看更多