shell programming in c