parent
a124089295
commit
ef891d2b66
4
build.sh
4
build.sh
|
@ -48,9 +48,9 @@ deb() {
|
|||
bin
|
||||
[ -d "$DEBDIR" ] && rm -f "$DISTDIR"
|
||||
(set -x; mkdir -p "$DEBDIR/usr/bin"
|
||||
mkdir -p "$DEBDIR/usr/share/man"
|
||||
mkdir -p "$DEBDIR/usr/share/man/man1"
|
||||
cp bin/* "$DEBDIR/usr/bin"
|
||||
cp doc/* "$DEBDIR/usr/share/man"
|
||||
cp doc/* "$DEBDIR/usr/share/man/man1"
|
||||
cp -r pkgsrc/DEBIAN "$DEBDIR"
|
||||
sed -i "s/%VERSION%/$VERSION/g" "$DEBDIR/DEBIAN/control"
|
||||
dpkg-deb -b "$DEBDIR")
|
||||
|
|
19
doc/lines.1
19
doc/lines.1
|
@ -2,25 +2,26 @@
|
|||
.SH NAME
|
||||
line \- extract lines from input
|
||||
.SH SYNOPSIS
|
||||
.B line
|
||||
.B lines
|
||||
.IR [LINES...]
|
||||
.SH DESCRIPTION
|
||||
.B line
|
||||
extracts lines from stdin. If multiple lines are provided, they will be sorted
|
||||
numerically. If the same line is specified twice, it will only be extracted
|
||||
once.
|
||||
.B lines
|
||||
extracts one or more lines from stdin. If multiple lines are provided, they will
|
||||
be sorted numerically. If the same line is specified twice, it will only be
|
||||
extracted once.
|
||||
.SH EXAMPLES
|
||||
Get the 3rd line from the file line.1
|
||||
Get the 3rd line from the file lines.1
|
||||
.PP
|
||||
.nf
|
||||
.RS
|
||||
line 3 < line.1
|
||||
lines 3 < lines.1
|
||||
.RE
|
||||
.fi
|
||||
Get the 3rd, 4th and 5th lines from the file line.1
|
||||
.PP
|
||||
Get the 3rd, 4th and 5th lines from the file lines.1
|
||||
.PP
|
||||
.nf
|
||||
.RS
|
||||
line 3 5 4 < line.1
|
||||
lines 3 5 4 < lines.1
|
||||
.RE
|
||||
.fi
|
||||
|
|
Loading…
Reference in New Issue