BSD 1 development
authorJeff Schriebman <jeff@ucbvax.Berkeley.EDU>
Wed, 23 Nov 1977 20:43:56 +0000 (12:43 -0800)
committerJeff Schriebman <jeff@ucbvax.Berkeley.EDU>
Wed, 23 Nov 1977 20:43:56 +0000 (12:43 -0800)
Work on file man6/linerm.6

Synthesized-from: 1bsd

man6/linerm.6 [new file with mode: 0644]

diff --git a/man6/linerm.6 b/man6/linerm.6
new file mode 100644 (file)
index 0000000..2e5868e
--- /dev/null
@@ -0,0 +1,49 @@
+.th LINERM VI 8/5/77
+.sh NAME
+linerm \- remove lines from a file
+.sh SYNOPSIS
+.bd linerm
+\fB\-\fRn
+[
+\fB+\fRn
+\fR\-\fRn
+\&...
+]
+.sh DESCRIPTION
+.it Linerm
+will remove the indicated lines from its standard input
+writing the result to the standard output.
+.s3
+There can be at most 50 parameters each of which consists of a
+`+' or `\-'
+followed by a number (the `+' is optional).
+The numbers define the starting line number where
+lines are to be copied to the output file or thrown away.
+`+n' or `n' means begin to copy data;
+`\-n' means begin to throw away data.
+.s3
+To get the first 10 lines of a file one can do
+.dt
+.s3
+       linerm \-11 < file
+.s3
+To extract the middle 20 lines of 
+.it file
+you can use the command
+.s3
+       linerm \-1 30 \-50 <file 
+.s3
+Unless otherwise specified \fIlinerm\fP will start out in
+the copy state.
+Thus
+.s3
+       linerm 1 \-10
+.s3
+is exactly the same as
+.s3
+       linerm \-10
+.sh SEE\ ALSO
+head (VI), tail (VI)
+.sh AUTHOR
+Jeff Schriebman
+.sh BUGS