I thought the community may like this.... I used it. from the command line....
cd linuxbios find . -name "*.c" -exec beautify.sh {} ; find . -name "*.h" -exec beautify.sh {} ;
beautify.sh ------------------------------------------------ #!/bin/bash
echo "Beatifying $1..."
# sed scrip = remove fore & aft spaces sed -e 's/^[ \t]*//;s/[ \t]*$//' $1 | indent -br -nce -nprs -nsaf -nsai -nut -ts2 -ut -l50 > tmp; mv -v tmp $1 ------------------------------------------------
steve
--------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.