Я пытаюсь реализовать Simple Orbper для поиска , чтобы найти файлы, ссылки или обоих. Вот путь моего кода: < /p>
typeArr=()
if [[ "$type" == "f" || "$type" == "l" ]]; then
typeArr=("-type" "$type")
elif [[ "$type" == "b" ]]; then
typeArr=("\(" "-type" "f" "-o" "-type" "l" "\)")
fi
mapfile -t targetFilesArray <
Подробнее здесь: https://stackoverflow.com/questions/797 ... expression