Search Results

Search: Posts Made By: m1xram
128,352
Posted By Chubler_XL
This is how you would do this in bash: i=0 ...
This is how you would do this in bash:

i=0
dept=()
while read x ;do
bn=$(basename "$x");
dept[$i]="$bn"
i=$(($i + 1))
echo "$i) $bn"
done < <(find $deptroot -mindepth 1...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 06:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy