Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] indenting C labels
- Date: Fri, 22 Jun 2007 18:19:45 +0900
- From: "Nguyen Vu Hung" <vuhung16plus@example.com>
- Subject: Re: [tlug] indenting C labels
- References: <78d7dd350706220039m3d1897aep24e61563759d644b@mail.gmail.com> <d8fcc0800706220123u4c652b48m929a3e2afdd3b03@mail.gmail.com>
On 6/22/07, Josh Glover <jmglov@example.com> wrote:On 22/06/07, Nguyen Vu Hung <vuhung16plus@example.com> wrote:
> 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.
indent -br -i8 file.c \ && sed -i -e 's/^[[:space:]]\+\([^:]\+:\)$/\1/' tmp/file.c
sasuga Sysadmin :D
I haven't checked but I believe it works.
You remind you of making test data with sed and awk :D. Thanks
-- Best Regards, Nguyen Hung Vu vuhung16plus{remove}@example.com An inquisitive look at Harajuku http://www.flickr.com/photos/vuhung/sets/72157600109218238/
- References:
- [tlug] indenting C labels
- From: Nguyen Vu Hung
- Re: [tlug] indenting C labels
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] indenting C labels
- Next by Date: Re: [tlug] indenting C labels
- Previous by thread: Re: [tlug] indenting C labels
- Next by thread: Re: [tlug] indenting C labels
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links