[LinuxBIOS] C style Formatting

steve yannalfo fourstar10_2000 at yahoo.com
Sat May 27 02:03:17 CEST 2006

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 {}  \; 
 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
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20060526/2eb9fbb8/attachment.html>

More information about the coreboot mailing list