Why does Bash return errors with `'ash` when defining a function?

view story

http://stackoverflow.com – I have a .bashrc file that has a very simple function like this function module() { .... } I type "bash" on the command prompt and as expected the .bashrc gets executed however I get the error: 'ash: /user/.bashrc: line 1: syntax error near unexpected token `{ 'ash: /user/.bashrc: line 1: `function module() { I have tried removing the word "function" and I have also tried removing the () but none of this helps. Can someone let me know what is happening? Bash version when I run bash --version is (I can upgrade to the latest version but ONLY the module will let me point to the latest (HowTos)