|
Thanks a lot mschwage. This is my first question in this forum and I have got a quick reply. Thanks for the team working on this.
mschwage, I really dont know how to use the arrays in shell script. Do you have any link to study about this? Thanks for your help on this.
And I have below doubts in your ans,
1. dirs="not_using_0" ?? What is this ? Are you declaring dir as variable and why u assign the value "not_using_0"
2. What this is doing
for entry in *; do
[ -d "$entry" ] && dirs="$dirs $entry"
done
I am sorry for asking these simple doubts also but I am new to the shell and scripting techs.
|