How I'm calling the function:
pay_ending_date
I don't understand why it works when run directly from the script but doesn't work when embedded inside a function?
The call is missing the parameter
pay_ending_date $1
or
pay_ending_date "filename"
Aia
Nearly a Posting Maven
2,392 posts since Dec 2006
Reputation Points: 2,224
Solved Threads: 218