Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   indent    ( 1 )

изменяет внешний вид программы C, вставляя или удаляя пробелы (changes the appearance of a C program by inserting or deleting whitespace.)

--blank-lines-after-procedures

The '-bap' option forces a blank line after every procedure body.

For example, given the input

int foo () { puts("Hi"); } /* The procedure bar is even less interesting. */ char * bar () { puts("Hello"); }

indent -bap produces

int foo () { puts ("Hi"); }

/* The procedure bar is even less interesting. */ char * bar () { puts ("Hello"); }

and indent -nbap produces

int foo () { puts ("Hi"); } /* The procedure bar is even less interesting. */ char * bar () { puts ("Hello"); }

No blank line will be added after the procedure foo.