X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd-cat.xml;h=4098a76bc77099a47136ecee55a4bf60a0ce6cbb;hp=cac275b453df3762d5742e7d5a9bcaf239fbbdec;hb=d86dd07d462fb8502b1c7b4a9a4df4fba8318bdd;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/man/systemd-cat.xml b/man/systemd-cat.xml index cac275b45..4098a76bc 100644 --- a/man/systemd-cat.xml +++ b/man/systemd-cat.xml @@ -21,7 +21,8 @@ along with systemd; If not, see . --> - + systemd-cat @@ -60,18 +61,18 @@ Description systemd-cat may be used to - connect STDOUT and STDERR of a process with the + connect the standard input and output of a process to the journal, or as a filter tool in a shell pipeline to pass the output the previous pipeline element generates to the journal. - If no parameter is passed + If no parameter is passed, systemd-cat will write - everything it reads from standard input (STDIN) to the journal. + everything it reads from standard input (stdin) to the journal. - If parameters are passed they are executed as - command line with standard output (STDOUT) and standard - error output (STDERR) connected to the journal, so + If parameters are passed, they are executed as + command line with standard output (stdout) and standard + error output (stderr) connected to the journal, so that all it writes is stored in the journal. @@ -81,20 +82,8 @@ The following options are understood: - - - - - Prints a short help - text and exits. - - - - - - Prints a short version - string and exits. - + + @@ -102,7 +91,7 @@ Specify a short string that is used to identify the logging - tool. If not specified no identifying + tool. If not specified, no identification string is written to the journal. @@ -141,7 +130,7 @@ Controls whether lines read are parsed for syslog priority level prefixes. If enabled (the - default) a line prefixed with a + default), a line prefixed with a priority prefix such as <5> is logged at priority 5 @@ -158,7 +147,7 @@ Exit status - On success 0 is returned, a non-zero failure + On success, 0 is returned, a non-zero failure code otherwise. @@ -168,8 +157,8 @@ Invoke a program - This calls /bin/ls - with STDOUT/STDERR connected to the + This calls /bin/ls + with standard output and error connected to the journal: # systemd-cat ls @@ -188,8 +177,8 @@ Even though the two examples have very similar effects the first is preferable since only one process - is running at a time, and both STDOUT and STDERR are - captured while in the second example only STDOUT is + is running at a time, and both stdout and stderr are + captured while in the second example, only stdout is captured.