in reply to need help on shell scripting

You may wanna try the Unix/Linux Stack Exchange. It has fair shell support.
--perl.j