indent

Package: WA2L/WinTools 1.2.08
Section: Library Commands (3)
Updated: 26 April 2019
Index Return to Main Contents

 

NAME

indent - continuous output with an indent

 

SYNOPSIS

WA2LWinTools/lib/indent [ -h | -V ]

indent [ -e ][ width ]

 

AVAILABILITY

WA2L/WinTools

 

DESCRIPTION

continuous output of characters received via stdin with a leading indent ( width ) on each line.

 

OPTIONS

-h
help message.

-V
print program version.

width
width of output indent. If not specified the default of 4 applies.

-e
the leading indent is sent to stderr instead of stdout.

 

ENVIRONMENT

-

 

EXIT STATUS

0
no error.

4
usage printed.

5
version printed.

 

FILES

-

 

EXAMPLES

1) indented output of a file

Print a file with the standard indent of 4:

[ C:\Windows\System32\drivers\etc ]
[ fred@acme007 ][*wtshell*/cmd]: type hosts | indent

    127.0.0.1      localhost
    10.10.10.11    acme001
    10.10.10.12    acme002
    10.10.10.17    acme007
    :
    :

Print the file with a specific indent of 8:

[ C:\Windows\System32\drivers\etc ]
[ fred@acme007 ][*wtshell*/cmd]: type hosts | indent 8

        127.0.0.1      localhost
        10.10.10.11    acme001
        10.10.10.12    acme002
        10.10.10.17    acme007
        :
        :

 

SEE ALSO

wintoolsintro(1), print_header(3), print_index(3), print_list(3), select_columns(3)

 

NOTES

-

 

BUGS

-

 

AUTHOR

indent was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net . 

 

COPYRIGHT

Copyright © 2020 Christian Walther

This is free software; see WA2LWinTools/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:32:10 GMT, September 14, 2024