SECHO(1)

NAME
secho - echo arguments in many silly ways

SYNOPSIS
secho [-019abCDEeilmNnIqtuVvwXx] [-B base] [-c cmd] [-d char] [-f file] [-L len] [-o file] [-r re] [-S voice] [-s char] [args]

DESCRIPTION
secho outputs its arguments. It takes the following switches:

-0  Separate output arguments with a null character.

-1  One argument per line.

-9  "Plan9 mode"; don't print a newline if there are no arguments.

-a  Output in ASCII. The default.

-B base
    Output in given base, 2..32. Unless -u also given, base > 10 shows lowercase.

-b  Output in binary.

-C  Don't echo anything, just print the number of fields.

-c cmd
    Run cmd on each argument, replacing $? with the argument itself.

-D  Output in decimal.

-d char
    Field delimiter. Default is end of argument.

fl E
    Print to standard error instead of to standard output.

-e  Allow escape sequences Read from file, then from command line (if any).

-i  Read arguments from standard input.

-L len
    Line width set to len. Default is to ignore line lengths.

-l  Turn uppercase to lowercase.

-m  Multi-column output.

-N  One field per line, numbering each field.

-n  Suppress newline.

-O  Output in octal.

-o file
    Write to file instead of standard output.

-q  "Quiet mode:" redirect output to /dev/null if not to a file.

-r re
    Print every string that matches each regular expression. Regular expressions cannot contain + or * modifiers.

-S voice
    Send to speaker, having the given voice say it. If voice is a null string, use the default voice.

-s char
    Separate fields with char, default space.

-t  Separate fields with tabs.

-u  Convert lowercase to uppercase. With -B, output in uppercase letters for base > 10.

-V  Strip non-printing characters.

-v  Make non-printing characters visible.

-w  If -l is given, word wrap instead of character wrap. Otherwise, ignored.

-X  Output in uppercase hexadecimal. Output in lowercase hexadecimal.

BUGS
The ultimate echo, actually useful, but no one wants it.

AUTHOR
David Parsons (orc@pell.chi.il.us) (coding)
Pietro Gagliardi (pietro10@mac.com) (inspiration, manpage)