The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Shell Noob
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Shell Noob
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
05-31-2007
Shell_Life
Registered User
Join Date: Mar 2007
Location: Bahia, Brazil
Posts: 695
Sax,
The "find" statement is to loop through all the "accuNNN" directories,
NOT the "accu*old".
Display the "mNewDir" right after the "do" to see what value you are getting:
Code:
echo "mNewDir = <"${mNewDir}">"
Also, I wrote the shell in ksh -- are you using the same?
Shell_Life
View Public Profile
Find all posts by Shell_Life
Find Shell_Life's past nominations received
Find Shell_Life's present nominations given