While dealing with Unix text files, I found that a lot of people prefer file manipulation writing shell scripts rather than processing using C.

My question is that, what is more efficient, shell programming or C programming?

A C program, when run compiled, works as single process, but every shell command is a process, doesn't it mean that C code is more efficient?

Thanks for any help :-)