From 700b91c8047c0e96d319097c9bc95f70cca744f1 Mon Sep 17 00:00:00 2001 From: "Douglas B. Rumbaugh" Date: Fri, 19 Sep 2025 17:08:40 -0400 Subject: Documentation updates --- doc/cdf.1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc/cdf.1') diff --git a/doc/cdf.1 b/doc/cdf.1 index 06f3a49..00d27a3 100644 --- a/doc/cdf.1 +++ b/doc/cdf.1 @@ -70,7 +70,7 @@ This format was selected to be compatible with the output of the uniq -c command .Sh EXIT STATUS .Ex -std .Sh EXAMPLES -Calculate CDF from integer data in a file: +Calculating the CDF of integer data in a file: .Bd -literal -offset indent $ cdf data.txt 0.300000000000000 10 @@ -78,7 +78,7 @@ $ cdf data.txt 1.000000000000000 20 .Ed .Pp -Generate complementary CDF in a pipeline: +Calculating the complementary CDF as part of a pipeline: .Bd -literal -offset indent $ awk '{print $2, $1}' measurements.dat | cdf -r -f 1.000000000000000 1.234000 @@ -86,7 +86,8 @@ $ awk '{print $2, $1}' measurements.dat | cdf -r -f 0.400000000000000 4.890000 .Ed .Pp -Use standard tools for pre-processing: +Using standard tools to preprocess a raw list of measurements +into a CDF: .Bd -literal -offset indent $ sort -n data.txt | uniq -c | cdf > dist.cdf .Ed -- cgit v1.2.3