Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

typos: dd(1), ed(1)

From: Alan Day <alan(at)alanday.com>
Date: Mon Jan 27 2003 - 21:01:04 EST


Here are a few typos, spellos and inconsistencies I noticed reading through the dd(1) and ed(1) man pages. Patches files

src/bin/ed/ed.1
src/bin/dd/dd.1

$ cd /usr/src
$ patch < /path/to/patch

Index: bin/dd/dd.1



RCS file: /cvs/src/bin/dd/dd.1,v
retrieving revision 1.12
diff -u -r1.12 dd.1
--- bin/dd/dd.1	2002/02/11 18:43:51	1.12
+++ bin/dd/dd.1	2003/01/27 23:33:15

@@ -98,7 +98,7 @@
 or
.Cm sync

 are specified, then each input block is copied to the output as a -single block without any aggregation of short blocks. +single block without aggregating short blocks.
.It Cm cbs= Ns Ar n

 Set the conversion record size to
.Ar n

@@ -185,7 +185,7 @@
 operand.
 Input records shorter than the conversion record size are padded with spaces.  Input records longer than the conversion record size are truncated. -The number of truncated input records, if any, are reported to the standard +The number of truncated input records, if any, is reported to the standard  error output at the completion of the copy.
.It Cm ebcdic , ibm , oldebcdic , oldibm
 The same as the
Index: bin/ed/ed.1

RCS file: /cvs/src/bin/ed/ed.1,v
retrieving revision 1.38
diff -u -r1.38 ed.1
--- bin/ed/ed.1	2002/10/04 02:15:15	1.38
+++ bin/ed/ed.1	2003/01/27 23:33:21

@@ -107,8 +107,6 @@
 This should be used if
.Nm

 standard input is from a script.
-.Fl s
-flag.
.It Fl x

 Prompt for an encryption key to be used in subsequent reads and writes  (see the
@@ -267,7 +265,7 @@
.Em s

 command for selecting old text to be replaced with new.
.Pp

-In addition to a specifying string literals, regular expressions can +In addition to specifying string literals, regular expressions can  represent classes of strings.
 Strings thus represented are said to be matched by the  corresponding regular expression.
@@ -600,9 +598,9 @@
 The current address is set to the last line printed.
.It Em P

 Toggles the command prompt on and off.
-Unless a prompt was specified by with command-line option +Unless a prompt was specified with command-line option
.Fl p Ar string Ns No ,

-the command prompt is by default turned off. +the command prompt is turned off by default.
.It Em q

 Quits
.Nm ed .

@@ -646,7 +644,7 @@
 By default, only the first match in each line is replaced.  If the
.Em g

-(global) suffix is given, then every match to be replaced. +(global) suffix is given, then every match is replaced.  The
.Em n

 suffix, where
@@ -656,7 +654,7 @@
 match to be replaced.
 It is an error if no substitutions are performed on any of the addressed  lines.
-The current address is set the last line affected. +The current address is set to the last line affected.
.Pp
.Em re

 and
@@ -712,14 +710,14 @@
 The
.Em r

 suffix causes
-the regular expression of the last search to be used instead of the +the regular expression of the last search to be used instead of  that of the last substitution.
 The
.Em g

 suffix toggles the global suffix of the last substitution.  The
.Em p

-suffix toggles the print suffix of the last substitution +suffix toggles the print suffix of the last substitution.  The current address is set to the last line affected.
.It (.,.) Ns Em t Ns No (.)

 Copies (i.e., transfers) the addressed lines to after the right-hand @@ -756,7 +754,7 @@
.It (1,$) Ns Em w No file

 Writes the addressed lines to
.Em file Ns No .

-Any previous contents of
+Any previous content of
.Em file

 is lost without warning.
 If there is no default filename, then the default filename is set to @@ -782,7 +780,7 @@
.Em file Ns No .

 This is similar to the
.Em w

-command, expect that the previous contents of file is not clobbered. +command, except that the previous content of file is not clobbered.  The current address is unchanged.
.It Em x

 Prompts for an encryption key which is used in subsequent reads and writes. Received on Mon Jan 27 20:49:45 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:48 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library