Communication Commands dedo(1C) NAME dedo - do everything, distribute overview SYNOPSIS dedo [ -i input-file ] [ -o output-file ] | [ -u notify | question ] DESCRIPTION dedo is a monumental interactive command line tool for in- formation exchange. Its output is strongly input-format-de- pendent, so its usage is controversial. In spite of this ma- ny people all over the world use it to find the answers for their questions. Standard behaviour of the dedo command is simple: It takes questions from stdin and gives answers to stdout. There's no need to enter any options or operands. Without any parameter dedo reads from standard input and writes to standard output. The file name (input-file or output-file) '-' means the stdin or stdout respectively. Dedo's configuration is read from ~/.dedorc. If this file is not presented default configuration is used. Original dedo had no configuration abilities and many dedo-mutations rised to solve the problem of dedo's user friendship (dedusko is the typical representant). Developers of dedo decided to make it more flexible and now dedo supports some environment variables (see ENVIRONMENT section). Another interesting feature is dedod (dedo's daemon). This daemon makes dedo more capricious, but has many advanteges. It can collect questions of all users and combine them, so dedo (which is dedod sensitive) offers more subtle answers. Also it can be configured to send results of its work to dedo's devloper center. This can help DDC to make better dedos in the future. OPTIONS These options are supported by dedo: -n notify dedo returns short replay for your notify. Output from dedo used this way usually does not please you, although dedo never uses swear words. -i input-file if you have a lot of questions for dedo, you can formulate them all in one file - one question per line. Dedo generates output file where one answer is on the line with the same number the line of the question has. -o output-file Output file generated by dedo is written to stdout by default. When you use this option, you will redirect output to the file output-file. PARAMETERS Dedo supports only one parameter - your question. If you want to ask it for more then one question you should use it with -i option. If you use it with question parameter, dedo will not expect any other input. ENVIRONMENT These variables can be used to influence dedo's behaviour. You should set them in ~/.dedorc if needed. D_DDEPENDENCE This variable tells dedo, how much capricious it has to be. When you need exact answers pointing just to the problem use value 0. When you need or want extreme dependence on dedod use value of 1. In other cases choose any value from this range. D_FRIENDSHIP Variable value of 1 makes dedo your best friend. Answers will be more comprehensive with minimal references to man pages. Variable set to 0 is very brief (eg. Example 2 is made with D_FRIENDSHIP=0). EXAMPLES Examples are in Slovak language because Slovak localization of dedo is considered best. Example 1: If you want to entertain with dedo, notify something to it. The command: example% dedo -n "Preco mi to nepracuje?" writes something like this: Lebo si rura! ;-) It is also possible that dedo writes something like: He? This can happen when dedo is connected to dedod and dedod is just performing some random correlations. Example 2: Standard question to dedo. The command: example% dedo "Ako zistim, ake sietove interfejsy mam?" produces this output: man ifconfig :-))) Now it is evident why so many people uses dedo, I hope. EXIT STATUS The following exit values are returned: 0 Successful completion. >0 An error occurred. DedOS 1.0 Last change: 21 Jun 1999