Recently, Somebody Somewhere wrote these words
> > There is an indent program, is there? Good . I'll go after it.
> > 
> > Thanks very much for the effort in the above example..... It's a
> > pity I'm illiterate in C. I'll try it. The max line lingth I see.
> > Where do I set the indent?
> 
> Yeah, it should just be called "indent".  :)  Um...  In that program
> there (which may or may not work!!!  Untested, written only in my
> email program!), just look for this:
> 
> /* This line here will insert a tab when it's split the line */
> fputs("\n\t", fp2);
> 
> The \t is a tab character...  You can change that to an amount of
> spaces, if you wish.  :P  And I didn't know if you knew C, but hey...
> :P  It's always fun to write stuff like that.  :D
> 
> For example, if you wanted 8 spaces: fputs("\n        ", fp2);


That's great. I need 90 - yes, about 90. Is that

        fputs("\n\t\t\t\t\t\t\t\t\t\t\t\t", fp2);
        fputs("\n\t{11}", fp2);
        

And one other stupid detail: Correct this line


gcc -o indent indent.c
-- 

        With best Regards,


        Declan Moriarty.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to