Files
test-projects/bash-test.sh
T
2026-05-29 09:37:06 +02:00

10 lines
150 B
Bash
Executable File

#!/usr/bin/env bash
IFS=$'\n'
array=($(find . -mindepth 1 -maxdepth 1 -type d))
unset IFS
for item in "${array[@]}"; do
echo "[ ${item} ]"
done