···7272 while IFS= read -r -d $'\0' f; do
7373 isScript "$f" || continue
74747575- read -r oldInterpreterLine < "$f"
7575+ # read exits unclean if the shebang does not end with a newline, but still assigns the variable.
7676+ # So if read returns errno != 0, we check if the assigned variable is non-empty and continue.
7777+ read -r oldInterpreterLine < "$f" || [ "$oldInterpreterLine" ]
7878+7679 read -r oldPath arg0 args <<< "${oldInterpreterLine:2}"
77807881 if [[ -z "${pathName:-}" ]]; then