Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] indenting C labels



Hi,

when I run "indent -br -i8 file.c", the labels in the C are moved 0x07
spaces to the right of pages.

But I want to indent labels to leftmost of pages.

For example.

[output of indent -br -i8 ]

cat file.c
if ( 0 == found ) {
[tab] goto notfound;
}
[ [space] x 7 ] notfound:

Result I want:

if ( 0 == found ) {
[tab] goto notfound;
}
notfound:

I didn't find any options for customizing it in man indent.

Any ideas?

--
Best Regards,
Nguyen Hung Vu
vuhung16plus{remove}@example.com
An inquisitive look at Harajuku
http://www.flickr.com/photos/vuhung/sets/72157600109218238/


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links