I was wondering, I need to run indent with a bunch of parameters as:
indent slithy_toves.c -cp33 -di16 -fc1 -fca -hnl -i4 -o slithy_toves.c
What I want is to read each *.c and *.h files and overwrite them with the same name.
How could I do this in a bash script, so next time I can run the script and do all the indentation at once?
Thanks