Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    (/(?:}\s*(?:else(?{$/--})|
    ...
    /(?:{\s*(?{$__="\t"x$/++.$_}))$/o,
    print($__?"$__":"\t"x$/.$_),
    undef $__) while (<>)
    
  2. or download this
    usage: indent [--help] file
    example:
            indent file
    
  3. or download this
    #include <stdlib.h>
    #include <stdio.h>
    ...
    }
    printf("end :-)\n");
    }