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