unix - Adapt bash loop to be use in csh - Stack Overflow
經安全檢測,此網站為安全網站,請放心前往原始網址!
unix - Adapt bash loop to be use in csh - Stack Overflow
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 ...