add some mandoc pages and fix some warnings
- add .Os, it is mandatory. - don't redeclare .Nm when it's not needed. - fix some warnings (checked with mandoc -Tlint). - remove some leftover old stuff.
This commit is contained in:
parent
8c177d8d83
commit
57a19e3b86
|
@ -5,7 +5,7 @@
|
||||||
.Nm basename
|
.Nm basename
|
||||||
.Nd strip leading path components
|
.Nd strip leading path components
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm basename
|
.Nm
|
||||||
.Ar path
|
.Ar path
|
||||||
.Op Ar suffix
|
.Op Ar suffix
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
|
3
cal.1
3
cal.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 18, 2015
|
.Dd January 18, 2015
|
||||||
.Dt CAL 1 sbase\-VERSION
|
.Dt CAL 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm cal
|
.Nm cal
|
||||||
.Nd show calendar
|
.Nd show calendar
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm cal
|
.Nm
|
||||||
.Op Fl 1 | Fl 3 | Fl y | Fl n Ar nmonths
|
.Op Fl 1 | Fl 3 | Fl y | Fl n Ar nmonths
|
||||||
.Op Fl s | Fl m | Fl f Ar firstday
|
.Op Fl s | Fl m | Fl f Ar firstday
|
||||||
.Op Fl c Ar columns
|
.Op Fl c Ar columns
|
||||||
|
|
3
cat.1
3
cat.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 16, 2015
|
.Dd January 16, 2015
|
||||||
.Dt CAT 1 sbase\-VERSION
|
.Dt CAT 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm cat
|
.Nm cat
|
||||||
.Nd concatenate files
|
.Nd concatenate files
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm cat
|
.Nm
|
||||||
.Op Fl u
|
.Op Fl u
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
|
40
chgrp.1
40
chgrp.1
|
@ -1,22 +1,28 @@
|
||||||
.TH CHGRP 1 sbase\-VERSION
|
.Dd January 30, 2015
|
||||||
.SH NAME
|
.Dt CHGRP 1 sbase\-VERSION
|
||||||
chgrp \- change the file group ownership
|
.Os
|
||||||
.SH SYNOPSIS
|
.Sh NAME
|
||||||
.B chgrp
|
.Nm chgrp
|
||||||
.RB [ \-R ]
|
.Nd change the file group ownership
|
||||||
.I groupname
|
.Sh SYNOPSIS
|
||||||
.I file...
|
.Nm
|
||||||
.SH DESCRIPTION
|
.Op Fl R
|
||||||
.B chgrp
|
.Ar groupname
|
||||||
|
.Op Ar file...
|
||||||
|
.Sh DESCRIPTION
|
||||||
|
.Nm
|
||||||
sets the group id of the files specified by
|
sets the group id of the files specified by
|
||||||
.IR file
|
.Ar file
|
||||||
to the gid of the group named
|
to the gid of the group named
|
||||||
.IR group.
|
.Ar group.
|
||||||
If the
|
If the
|
||||||
.IR R
|
.Fl R
|
||||||
flag is specified, this process is recursively applied to
|
flag is specified, this process is recursively applied to
|
||||||
everything in
|
everything in
|
||||||
.IR file.
|
.Ar file .
|
||||||
|
.Sh SEE ALSO
|
||||||
.SH SEE ALSO
|
.Xr chown 1 ,
|
||||||
.IR chown (1) chown (2) chmod (1) chmod (2) getgrnam (3)
|
.Xr chown 2 ,
|
||||||
|
.Xr chmod 1 ,
|
||||||
|
.Xr chmod 2 ,
|
||||||
|
.Xr getgrnam 3
|
||||||
|
|
3
chmod.1
3
chmod.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 17, 2015
|
.Dd January 17, 2015
|
||||||
.Dt CHMOD 1 sbase\-VERSION
|
.Dt CHMOD 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm chmod
|
.Nm chmod
|
||||||
.Nd change file mode
|
.Nd change file mode
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm chmod
|
.Nm
|
||||||
.Op Fl R
|
.Op Fl R
|
||||||
.Ar mode
|
.Ar mode
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
|
|
39
chown.1
39
chown.1
|
@ -1,20 +1,23 @@
|
||||||
.TH CHOWN 1 sbase\-VERSION
|
.Dd January 30, 2015
|
||||||
.SH NAME
|
.Dt CHOWN 1 sbase\-VERSION
|
||||||
chown \- change file ownership
|
.Os
|
||||||
.SH SYNOPSIS
|
.Sh NAME
|
||||||
.B chown
|
.Nm chown
|
||||||
.RB [ \-Rr ]
|
.Nd change file ownership
|
||||||
.RI [ owner ][: group ]
|
.Sh SYNOPSIS
|
||||||
.RI [ file ...]
|
.Nm
|
||||||
.SH DESCRIPTION
|
.Op Fl Rr
|
||||||
.B chown
|
.Op Ar owner Op Ar :group
|
||||||
|
.Op Ar file ...
|
||||||
|
.Sh DESCRIPTION
|
||||||
|
.Nm
|
||||||
changes the user or group ownership for the given files.
|
changes the user or group ownership for the given files.
|
||||||
.SH OPTIONS
|
.Sh OPTIONS
|
||||||
.TP
|
.Bl -tag -width Ds
|
||||||
.B \-R
|
.It Fl R
|
||||||
equivalent to -r.
|
equivalent to \-r.
|
||||||
.TP
|
.It Fl r
|
||||||
.B \-r
|
|
||||||
change directory ownership recursively.
|
change directory ownership recursively.
|
||||||
.SH SEE ALSO
|
.El
|
||||||
.IR chown (2)
|
.Sh SEE ALSO
|
||||||
|
.Xr chown 2
|
||||||
|
|
39
chroot.1
39
chroot.1
|
@ -1,26 +1,25 @@
|
||||||
.TH CHROOT 1 sbase\-VERSION
|
.Dd January 30, 2015
|
||||||
.SH NAME
|
.Dt CHROOT 1 sbase\-VERSION
|
||||||
chroot \- invoke a command with a different root directory
|
.Os
|
||||||
.SH SYNOPSIS
|
.Sh NAME
|
||||||
.B chroot
|
.Nm chroot
|
||||||
.IR dir
|
.Nd invoke a command with a different root directory
|
||||||
.RI [ command
|
.Sh SYNOPSIS
|
||||||
.RI [ arg ...]]
|
.Nm
|
||||||
|
.Ar dir
|
||||||
.SH DESCRIPTION
|
.Op Ar command Op Ar arg ...
|
||||||
.B chroot
|
.Sh DESCRIPTION
|
||||||
|
.Nm
|
||||||
runs
|
runs
|
||||||
.IR command
|
.Ar command
|
||||||
after changing the root directory to
|
after changing the root directory to
|
||||||
.IR dir
|
.Ar dir
|
||||||
with the
|
with the
|
||||||
.B chroot
|
.Xr chroot 2
|
||||||
system call, and changing the working directory to the new root.
|
system call, and changing the working directory to the new root.
|
||||||
|
|
||||||
If
|
If
|
||||||
.IR command
|
.Op Ar command
|
||||||
is not specified, an interactive shell is started in the new root.
|
is not specified, an interactive shell is started in the new root.
|
||||||
|
.Sh SEE ALSO
|
||||||
.SH SEE ALSO
|
.Xr chdir 2 ,
|
||||||
.IR chroot (2)
|
.Xr chroot 2
|
||||||
.IR chdir (2)
|
|
||||||
|
|
3
cksum.1
3
cksum.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 17, 2015
|
.Dd January 17, 2015
|
||||||
.Dt CKSUM 1 sbase\-VERSION
|
.Dt CKSUM 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm cksum
|
.Nm cksum
|
||||||
.Nd compute file checksum
|
.Nd compute file checksum
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm cksum
|
.Nm
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
|
|
3
cmp.1
3
cmp.1
|
@ -5,7 +5,7 @@
|
||||||
.Nm cmp
|
.Nm cmp
|
||||||
.Nd compare two files
|
.Nd compare two files
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm cmp
|
.Nm
|
||||||
.Op Fl l | Fl s
|
.Op Fl l | Fl s
|
||||||
.Ar file1 file2
|
.Ar file1 file2
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -14,7 +14,6 @@ compares two files byte by byte. If the files differ,
|
||||||
.Nm
|
.Nm
|
||||||
prints the byte and
|
prints the byte and
|
||||||
line number at which the difference occurred.
|
line number at which the difference occurred.
|
||||||
.Pp
|
|
||||||
.Sh OPTIONS
|
.Sh OPTIONS
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Fl l
|
.It Fl l
|
||||||
|
|
2
cols.1
2
cols.1
|
@ -5,7 +5,7 @@
|
||||||
.Nm cols
|
.Nm cols
|
||||||
.Nd columnize output
|
.Nd columnize output
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm cols
|
.Nm
|
||||||
.Op Fl c Ar chars
|
.Op Fl c Ar chars
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
|
3
comm.1
3
comm.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 18, 2015
|
.Dd January 18, 2015
|
||||||
.Dt COMM 1 sbase\-VERSION
|
.Dt COMM 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm comm
|
.Nm comm
|
||||||
.Nd select or reject lines common to two files
|
.Nd select or reject lines common to two files
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm comm
|
.Nm
|
||||||
.Op Fl 123
|
.Op Fl 123
|
||||||
.Ar file1
|
.Ar file1
|
||||||
.Ar file2
|
.Ar file2
|
||||||
|
|
3
cron.1
3
cron.1
|
@ -5,13 +5,12 @@
|
||||||
.Nm cron
|
.Nm cron
|
||||||
.Nd clock daemon
|
.Nd clock daemon
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm cron
|
.Nm
|
||||||
.Op Fl f Ar file
|
.Op Fl f Ar file
|
||||||
.Op Fl n
|
.Op Fl n
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
schedules commands to be run at specified dates and times.
|
schedules commands to be run at specified dates and times.
|
||||||
.Pp
|
|
||||||
.Sh OPTIONS
|
.Sh OPTIONS
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Fl f Ar file
|
.It Fl f Ar file
|
||||||
|
|
7
cut.1
7
cut.1
|
@ -1,17 +1,18 @@
|
||||||
.Dd January 22, 2015
|
.Dd January 22, 2015
|
||||||
.Dt CUT 1 sbase\-VERSION
|
.Dt CUT 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm cut
|
.Nm cut
|
||||||
.Nd extract columns of data
|
.Nd extract columns of data
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm cut
|
.Nm
|
||||||
.Fl b Ar list
|
.Fl b Ar list
|
||||||
.Op Fl n
|
.Op Fl n
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
.Nm cut
|
.Nm
|
||||||
.Fl c Ar list
|
.Fl c Ar list
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
.Nm cut
|
.Nm
|
||||||
.Fl f Ar list
|
.Fl f Ar list
|
||||||
.Op Fl d Ar delim
|
.Op Fl d Ar delim
|
||||||
.Op Fl s
|
.Op Fl s
|
||||||
|
|
3
date.1
3
date.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 23, 2015
|
.Dd January 23, 2015
|
||||||
.Dt DATE 1 sbase\-VERSION
|
.Dt DATE 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm date
|
.Nm date
|
||||||
.Nd print date and time
|
.Nd print date and time
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm date
|
.Nm
|
||||||
.Op Fl d Ar time
|
.Op Fl d Ar time
|
||||||
.Op Fl u
|
.Op Fl u
|
||||||
.Op Cm + Ns Ar format
|
.Op Cm + Ns Ar format
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 23, 2015
|
.Dd January 23, 2015
|
||||||
.Dt DIRNAME 1 sbase\-VERSION
|
.Dt DIRNAME 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm dirname
|
.Nm dirname
|
||||||
.Nd strip final path component
|
.Nd strip final path component
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm dirname
|
.Nm
|
||||||
.Ar path
|
.Ar path
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
|
|
3
echo.1
3
echo.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 23, 2015
|
.Dd January 23, 2015
|
||||||
.Dt ECHO 1 sbase\-VERSION
|
.Dt ECHO 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm echo
|
.Nm echo
|
||||||
.Nd print arguments
|
.Nd print arguments
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm echo
|
.Nm
|
||||||
.Op Fl n
|
.Op Fl n
|
||||||
.Op Ar string ...
|
.Op Ar string ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
|
3
env.1
3
env.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 24, 2015
|
.Dd January 24, 2015
|
||||||
.Dt ENV 1 sbase\-VERSION
|
.Dt ENV 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm env
|
.Nm env
|
||||||
.Nd modify the environment, then print it or run a command
|
.Nd modify the environment, then print it or run a command
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm env
|
.Nm
|
||||||
.Op Fl i
|
.Op Fl i
|
||||||
.Oo Fl u Ar variable Oc ...
|
.Oo Fl u Ar variable Oc ...
|
||||||
.Oo Ar variable Ns = Ns Ar value Oc ...
|
.Oo Ar variable Ns = Ns Ar value Oc ...
|
||||||
|
|
3
expand.1
3
expand.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 25, 2015
|
.Dd January 25, 2015
|
||||||
.Dt EXPAND 1 sbase\-VERSION
|
.Dt EXPAND 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm expand
|
.Nm expand
|
||||||
.Nd expand tabs to spaces
|
.Nd expand tabs to spaces
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm expand
|
.Nm
|
||||||
.Op Fl i
|
.Op Fl i
|
||||||
.Op Fl t Ar tablist
|
.Op Fl t Ar tablist
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
|
|
3
expr.1
3
expr.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 25, 2015
|
.Dd January 25, 2015
|
||||||
.Dt EXPR 1 sbase\-VERSION
|
.Dt EXPR 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm expr
|
.Nm expr
|
||||||
.Nd evaluate expression
|
.Nd evaluate expression
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm expr
|
.Nm
|
||||||
.Ar expression
|
.Ar expression
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
|
|
3
false.1
3
false.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 16, 2015
|
.Dd January 16, 2015
|
||||||
.Dt FALSE 1 sbase\-VERSION
|
.Dt FALSE 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm false
|
.Nm false
|
||||||
.Nd return failure
|
.Nd return failure
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm false
|
.Nm
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
returns a status code indicating failure.
|
returns a status code indicating failure.
|
||||||
|
|
3
fold.1
3
fold.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 25, 2015
|
.Dd January 25, 2015
|
||||||
.Dt FOLD 1 sbase\-VERSION
|
.Dt FOLD 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm fold
|
.Nm fold
|
||||||
.Nd wrap lines to width
|
.Nd wrap lines to width
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm fold
|
.Nm
|
||||||
.Op Fl bs
|
.Op Fl bs
|
||||||
.Op Fl w Ar width
|
.Op Fl w Ar width
|
||||||
.Op Fl N
|
.Op Fl N
|
||||||
|
|
7
grep.1
7
grep.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd November 21, 2014
|
.Dd November 21, 2014
|
||||||
.Dt GREP 1 sbase\-VERSION
|
.Dt GREP 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm grep
|
.Nm grep
|
||||||
.Nd search files for patterns
|
.Nd search files for patterns
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm grep
|
.Nm
|
||||||
.Op Fl EFHchilnqsvx
|
.Op Fl EFHchilnqsvx
|
||||||
.Op Fl e Ar pattern
|
.Op Fl e Ar pattern
|
||||||
.Op Fl f Ar file
|
.Op Fl f Ar file
|
||||||
|
@ -56,8 +57,8 @@ Print nothing, only return status.
|
||||||
Suppress the error messages ordinarily written for nonexistent or unreadable files.
|
Suppress the error messages ordinarily written for nonexistent or unreadable files.
|
||||||
.It Fl v
|
.It Fl v
|
||||||
Select lines which do
|
Select lines which do
|
||||||
.B not
|
.Sy not
|
||||||
Match the pattern.
|
match the pattern.
|
||||||
.It Fl w
|
.It Fl w
|
||||||
The expression is searched for as a word (as if surrounded by '\<' and '\>').
|
The expression is searched for as a word (as if surrounded by '\<' and '\>').
|
||||||
.It Fl x
|
.It Fl x
|
||||||
|
|
3
head.1
3
head.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 25, 2015
|
.Dd January 25, 2015
|
||||||
.Dt HEAD 1 sbase\-VERSION
|
.Dt HEAD 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm head
|
.Nm head
|
||||||
.Nd display initial lines of files
|
.Nd display initial lines of files
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm head
|
.Nm
|
||||||
.Op Fl n Ar num
|
.Op Fl n Ar num
|
||||||
.Op Fl N
|
.Op Fl N
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
|
|
12
kill.1
12
kill.1
|
@ -5,22 +5,20 @@
|
||||||
.Nm kill
|
.Nm kill
|
||||||
.Nd signal processes
|
.Nd signal processes
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm kill
|
.Nm
|
||||||
.Op Fl s Ar signal_name
|
.Op Fl s Ar signal_name
|
||||||
.Ar pid ...
|
.Ar pid ...
|
||||||
.Nm kill
|
.Nm
|
||||||
.Fl l Op Ar exit_status
|
.Fl l Op Ar exit_status
|
||||||
.Nm kill
|
.Nm
|
||||||
.Fl Ar signal_name
|
.Fl Ar signal_name
|
||||||
.Ar pid ...
|
.Ar pid ...
|
||||||
.Nm kill
|
.Nm
|
||||||
.Fl Ar signal_number
|
.Fl Ar signal_number
|
||||||
.Ar pid ...
|
.Ar pid ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
by default sends a
|
by default sends a TERM signal to the given processes.
|
||||||
.I TERM
|
|
||||||
signal to the given processes.
|
|
||||||
.Sh OPTIONS
|
.Sh OPTIONS
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Fl s Ar signal_name
|
.It Fl s Ar signal_name
|
||||||
|
|
2
link.1
2
link.1
|
@ -1,7 +1,9 @@
|
||||||
.Dd January 25, 2015
|
.Dd January 25, 2015
|
||||||
.Dt LINK 1 sbase\-VERSION
|
.Dt LINK 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm link
|
.Nm link
|
||||||
|
.Nd call the link function
|
||||||
.Ar target
|
.Ar target
|
||||||
.Ar name
|
.Ar name
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
|
5
ln.1
5
ln.1
|
@ -1,15 +1,16 @@
|
||||||
.Dd January 26, 2015
|
.Dd January 26, 2015
|
||||||
.Dt LN 1 sbase\-VERSION
|
.Dt LN 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm ln
|
.Nm ln
|
||||||
.Nd link files
|
.Nd link files
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm ln
|
.Nm
|
||||||
.Op Fl f
|
.Op Fl f
|
||||||
.Op Fl L | Fl P | Fl s
|
.Op Fl L | Fl P | Fl s
|
||||||
.Ar target
|
.Ar target
|
||||||
.Op Ar name
|
.Op Ar name
|
||||||
.Nm ln
|
.Nm
|
||||||
.Op Fl f
|
.Op Fl f
|
||||||
.Op Fl L | Fl P | Fl s
|
.Op Fl L | Fl P | Fl s
|
||||||
.Ar target ...
|
.Ar target ...
|
||||||
|
|
3
logger.1
3
logger.1
|
@ -5,7 +5,7 @@
|
||||||
.Nm logger
|
.Nm logger
|
||||||
.Nd make entries in the system log
|
.Nd make entries in the system log
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm logger
|
.Nm
|
||||||
.Op Fl is
|
.Op Fl is
|
||||||
.Op Fl p Ar priority
|
.Op Fl p Ar priority
|
||||||
.Op Fl t Ar tag
|
.Op Fl t Ar tag
|
||||||
|
@ -15,7 +15,6 @@
|
||||||
provides a shell command interface to the
|
provides a shell command interface to the
|
||||||
.Xr syslog 3
|
.Xr syslog 3
|
||||||
system log module.
|
system log module.
|
||||||
.Pp
|
|
||||||
.Sh OPTIONS
|
.Sh OPTIONS
|
||||||
.Bl -tag -width xxxxxxxxxxxx
|
.Bl -tag -width xxxxxxxxxxxx
|
||||||
.It Fl i
|
.It Fl i
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 26, 2015
|
.Dd January 26, 2015
|
||||||
.Dt LOGNAME 1 sbase\-VERSION
|
.Dt LOGNAME 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm logname
|
.Nm logname
|
||||||
.Nd show login name
|
.Nd show login name
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm logname
|
.Nm
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
writes the login name of the current user to stdout.
|
writes the login name of the current user to stdout.
|
||||||
|
|
3
ls.1
3
ls.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 20, 2015
|
.Dd January 20, 2015
|
||||||
.Dt LS 1 sbase\-VERSION
|
.Dt LS 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm ls
|
.Nm ls
|
||||||
.Nd list directory contents
|
.Nd list directory contents
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm ls
|
.Nm
|
||||||
.Op Fl 1acdFHhiLlrtU
|
.Op Fl 1acdFHhiLlrtU
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
|
3
mkdir.1
3
mkdir.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 26, 2015
|
.Dd January 26, 2015
|
||||||
.Dt MKDIR 1 sbase\-VERSION
|
.Dt MKDIR 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm mkdir
|
.Nm mkdir
|
||||||
.Nd create directories
|
.Nd create directories
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm mkdir
|
.Nm
|
||||||
.Op Fl p
|
.Op Fl p
|
||||||
.Op Fl m Ar mode
|
.Op Fl m Ar mode
|
||||||
.Ar name ...
|
.Ar name ...
|
||||||
|
|
3
mkfifo.1
3
mkfifo.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 28, 2015
|
.Dd January 28, 2015
|
||||||
.Dt MKFIFO 1 sbase\-VERSION
|
.Dt MKFIFO 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm mkfifo
|
.Nm mkfifo
|
||||||
.Nd create named pipes
|
.Nd create named pipes
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm mkfifo
|
.Nm
|
||||||
.Op Fl m Ar mode
|
.Op Fl m Ar mode
|
||||||
.Ar name ...
|
.Ar name ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
|
3
mv.1
3
mv.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 28, 2015
|
.Dd January 28, 2015
|
||||||
.Dt MV 1 sbase\-VERSION
|
.Dt MV 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm mv
|
.Nm mv
|
||||||
.Nd move files and directories
|
.Nd move files and directories
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm mv
|
.Nm
|
||||||
.Op Fl f | Fl i
|
.Op Fl f | Fl i
|
||||||
.Ar source ...
|
.Ar source ...
|
||||||
.Ar destination
|
.Ar destination
|
||||||
|
|
3
nice.1
3
nice.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 28, 2015
|
.Dd January 28, 2015
|
||||||
.Dt NICE 1 sbase\-VERSION
|
.Dt NICE 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm nice
|
.Nm nice
|
||||||
.Nd run command with altered niceness
|
.Nd run command with altered niceness
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm nice
|
.Nm
|
||||||
.Op Fl n Ar inc
|
.Op Fl n Ar inc
|
||||||
.Ar cmd
|
.Ar cmd
|
||||||
.Op Ar arg ...
|
.Op Ar arg ...
|
||||||
|
|
5
nl.1
5
nl.1
|
@ -5,7 +5,7 @@
|
||||||
.Nm nl
|
.Nm nl
|
||||||
.Nd line numbering filter
|
.Nd line numbering filter
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm nl
|
.Nm
|
||||||
.Op Fl b Ar type
|
.Op Fl b Ar type
|
||||||
.Op Fl i Ar incr
|
.Op Fl i Ar incr
|
||||||
.Op Fl s Ar sep
|
.Op Fl s Ar sep
|
||||||
|
@ -33,8 +33,7 @@ Only non-empty lines (default).
|
||||||
Only lines which match
|
Only lines which match
|
||||||
.Ar expr ,
|
.Ar expr ,
|
||||||
a regular expression as defined in
|
a regular expression as defined in
|
||||||
.IR regex (7).
|
.Xr regex 7
|
||||||
.TP
|
|
||||||
.El
|
.El
|
||||||
.It Fl i Ar incr
|
.It Fl i Ar incr
|
||||||
Defines the increment between numbered lines.
|
Defines the increment between numbered lines.
|
||||||
|
|
3
nohup.1
3
nohup.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 28, 2015
|
.Dd January 28, 2015
|
||||||
.Dt NOHUP 1 sbase\-VERSION
|
.Dt NOHUP 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm nohup
|
.Nm nohup
|
||||||
.Nd run command immune to hangups
|
.Nd run command immune to hangups
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm nohup
|
.Nm
|
||||||
.Ar cmd
|
.Ar cmd
|
||||||
.Op Ar arg ...
|
.Op Ar arg ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
|
3
paste.1
3
paste.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 29, 2015
|
.Dd January 29, 2015
|
||||||
.Dt PASTE 1 sbase\-VERSION
|
.Dt PASTE 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm paste
|
.Nm paste
|
||||||
.Nd merge lines of files in parallel or sequentially
|
.Nd merge lines of files in parallel or sequentially
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm paste
|
.Nm
|
||||||
.Op Fl s
|
.Op Fl s
|
||||||
.Op Fl d Ar list
|
.Op Fl d Ar list
|
||||||
.Ar file ...
|
.Ar file ...
|
||||||
|
|
4
printf.1
4
printf.1
|
@ -39,11 +39,11 @@
|
||||||
.Nm printf
|
.Nm printf
|
||||||
.Nd formatted output
|
.Nd formatted output
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm printf
|
.Nm
|
||||||
.Ar format
|
.Ar format
|
||||||
.Op Ar argument ...
|
.Op Ar argument ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm printf
|
.Nm
|
||||||
formats and prints its arguments, after the first, under control
|
formats and prints its arguments, after the first, under control
|
||||||
of the
|
of the
|
||||||
.Ar format .
|
.Ar format .
|
||||||
|
|
2
pwd.1
2
pwd.1
|
@ -5,7 +5,7 @@
|
||||||
.Nm pwd
|
.Nm pwd
|
||||||
.Nd print working directory
|
.Nd print working directory
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm pwd
|
.Nm
|
||||||
.Op Fl LP
|
.Op Fl LP
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
|
|
3
renice.1
3
renice.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 29, 2015
|
.Dd January 29, 2015
|
||||||
.Dt RENICE 1 sbase\-VERSION
|
.Dt RENICE 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm renice
|
.Nm renice
|
||||||
.Nd change niceness of processes
|
.Nd change niceness of processes
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm renice
|
.Nm
|
||||||
.Fl n Ar inc
|
.Fl n Ar inc
|
||||||
.Op Fl g | Fl p | Fl u
|
.Op Fl g | Fl p | Fl u
|
||||||
.Ar id ...
|
.Ar id ...
|
||||||
|
|
3
rm.1
3
rm.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 30, 2015
|
.Dd January 30, 2015
|
||||||
.Dt RM 1 sbase\-VERSION
|
.Dt RM 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm rm
|
.Nm rm
|
||||||
.Nd remove directory entries
|
.Nd remove directory entries
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm rm
|
.Nm
|
||||||
.Op Fl f | Fl i
|
.Op Fl f | Fl i
|
||||||
.Op Fl Rr
|
.Op Fl Rr
|
||||||
.Ar file ...
|
.Ar file ...
|
||||||
|
|
3
rmdir.1
3
rmdir.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 30, 2015
|
.Dd January 30, 2015
|
||||||
.Dt RMDIR 1 sbase\-VERSION
|
.Dt RMDIR 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm rmdir
|
.Nm rmdir
|
||||||
.Nd remove directories
|
.Nd remove directories
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm rmdir
|
.Nm
|
||||||
.Op Fl p
|
.Op Fl p
|
||||||
.Ar directory ...
|
.Ar directory ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
|
3
sleep.1
3
sleep.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 30, 2015
|
.Dd January 30, 2015
|
||||||
.Dt SLEEP 1 sbase\-VERSION
|
.Dt SLEEP 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm sleep
|
.Nm sleep
|
||||||
.Nd wait for a number of seconds
|
.Nd wait for a number of seconds
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm sleep
|
.Nm
|
||||||
.Ar num
|
.Ar num
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.Nm strings
|
.Nm strings
|
||||||
.Nd print the strings of pritable characters in files
|
.Nd print the strings of pritable characters in files
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm strings
|
.Nm
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
|
|
35
tail.1
35
tail.1
|
@ -1,20 +1,23 @@
|
||||||
.TH TAIL 1 sbase\-VERSION
|
.Dd January 30, 2015
|
||||||
.SH NAME
|
.Dt TAIL 1 sbase\-VERSION
|
||||||
tail \- display final lines of files
|
.Os
|
||||||
.SH SYNOPSIS
|
.Sh NAME
|
||||||
.B tail
|
.Nm tail
|
||||||
.RB [ \-n
|
.Nd display final lines of files
|
||||||
.IR lines ]
|
.Sh SYNOPSIS
|
||||||
.RI [ file ]
|
.Nm
|
||||||
.SH DESCRIPTION
|
.Op Fl n Ar lines
|
||||||
.B tail
|
.Op Ar file
|
||||||
|
.Sh DESCRIPTION
|
||||||
|
.Nm
|
||||||
writes the last 10 lines of the file to stdout. If no file is given, tail reads
|
writes the last 10 lines of the file to stdout. If no file is given, tail reads
|
||||||
from stdin.
|
from stdin.
|
||||||
.SH OPTIONS
|
.Sh OPTIONS
|
||||||
.TP
|
.Bl -tag -width Ds
|
||||||
.BI \-n " lines"
|
.It Fl n Ar lines
|
||||||
outputs the given number of lines. If
|
outputs the given number of lines. If
|
||||||
.I lines
|
.El
|
||||||
|
.Ar lines
|
||||||
begins with '+' it is used as an offset from the beginning of the file.
|
begins with '+' it is used as an offset from the beginning of the file.
|
||||||
.SH SEE ALSO
|
.Sh SEE ALSO
|
||||||
.IR head (1)
|
.Xr head 1
|
||||||
|
|
3
tee.1
3
tee.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 23, 2015
|
.Dd January 23, 2015
|
||||||
.Dt TEE 1 sbase\-VERSION
|
.Dt TEE 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm tee
|
.Nm tee
|
||||||
.Nd duplicate stdin
|
.Nd duplicate stdin
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm tee
|
.Nm
|
||||||
.Op Fl ai
|
.Op Fl ai
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
|
3
touch.1
3
touch.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 20, 2014
|
.Dd January 20, 2014
|
||||||
.Dt TOUCH 1 sbase\-VERSION
|
.Dt TOUCH 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm touch
|
.Nm touch
|
||||||
.Nd set file timestamps
|
.Nd set file timestamps
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm touch
|
.Nm
|
||||||
.Op Fl acm
|
.Op Fl acm
|
||||||
.Op Fl t Ar stamp
|
.Op Fl t Ar stamp
|
||||||
.Ar file ...
|
.Ar file ...
|
||||||
|
|
3
tr.1
3
tr.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 16, 2015
|
.Dd January 16, 2015
|
||||||
.Dt TR 1 sbase\-VERSION
|
.Dt TR 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm tr
|
.Nm tr
|
||||||
.Nd translate characters
|
.Nd translate characters
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm tr
|
.Nm
|
||||||
.Op Fl c | Fl C
|
.Op Fl c | Fl C
|
||||||
.Op Fl sd
|
.Op Fl sd
|
||||||
.Ar set1 set2
|
.Ar set1 set2
|
||||||
|
|
3
true.1
3
true.1
|
@ -1,10 +1,11 @@
|
||||||
.Dd January 16, 2015
|
.Dd January 16, 2015
|
||||||
.Dt TRUE 1 sbase\-VERSION
|
.Dt TRUE 1 sbase\-VERSION
|
||||||
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm true
|
.Nm true
|
||||||
.Nd return success
|
.Nd return success
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm true
|
.Nm
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
returns a status code indicating success
|
returns a status code indicating success
|
||||||
|
|
25
tty.1
25
tty.1
|
@ -1,13 +1,16 @@
|
||||||
.TH TTY 1 sbase\-VERSION
|
.Dd January 30, 2015
|
||||||
.SH NAME
|
.Dt TTY 1 sbase\-VERSION
|
||||||
tty \- print terminal name
|
.Os
|
||||||
.SH SYNOPSIS
|
.Sh NAME
|
||||||
.B tty
|
.Nm tty
|
||||||
.SH DESCRIPTION
|
.Nd print terminal name
|
||||||
.B tty
|
.Sh SYNOPSIS
|
||||||
|
.Nm
|
||||||
|
.Sh DESCRIPTION
|
||||||
|
.Nm
|
||||||
prints the name of the terminal open on stdin.
|
prints the name of the terminal open on stdin.
|
||||||
.P
|
.Pp
|
||||||
The status code is 0 if stdin is a terminal, and 1 if not. If an error occurred
|
The status code is 0 if stdin is a terminal, and 1 if not. If an error occurred
|
||||||
the status code is 2.
|
the status code is 2.
|
||||||
.SH SEE ALSO
|
.Sh SEE ALSO
|
||||||
.IR ttyname (3)
|
.Xr ttyname 3
|
||||||
|
|
29
unlink.1
29
unlink.1
|
@ -1,16 +1,17 @@
|
||||||
.TH UNLINK 1 sbase\-VERSION
|
.Dd January 30, 2015
|
||||||
.SH NAME
|
.Dt UNLINK 1 sbase\-VERSION
|
||||||
unlink \- call the unlink function
|
.Os
|
||||||
.SH SYNOPSIS
|
.Sh NAME
|
||||||
.B unlink
|
.Nm unlink
|
||||||
.RB file
|
.Nd call the unlink function
|
||||||
.SH DESCRIPTION
|
.Sh SYNOPSIS
|
||||||
.B unlink
|
.Nm
|
||||||
|
.Ar file
|
||||||
|
.Sh DESCRIPTION
|
||||||
|
.Nm
|
||||||
calls the
|
calls the
|
||||||
.IR unlink
|
.Xr unlink 2
|
||||||
function on
|
function on
|
||||||
.IR file.
|
.Ar file.
|
||||||
|
.Sh SEE ALSO
|
||||||
|
.Xr unlink 2
|
||||||
.SH SEE ALSO
|
|
||||||
.IR unlink (2)
|
|
||||||
|
|
38
wc.1
38
wc.1
|
@ -1,25 +1,27 @@
|
||||||
.TH WC 1 sbase\-VERSION
|
.Dd January 30, 2015
|
||||||
.SH NAME
|
.Dt WC 1 sbase\-VERSION
|
||||||
wc \- word count
|
.Os
|
||||||
.SH SYNOPSIS
|
.Sh NAME
|
||||||
.B wc
|
.Nm wc
|
||||||
.RB [ \-clmw ]
|
.Nd word count
|
||||||
.RI [ file ...]
|
.Sh SYNOPSIS
|
||||||
.SH DESCRIPTION
|
.Nm
|
||||||
.B wc
|
.Op Fl clmw
|
||||||
|
.Op Ar file ...
|
||||||
|
.Sh DESCRIPTION
|
||||||
|
.Nm
|
||||||
|
.Pp
|
||||||
prints the number of lines, words, and bytes in each file. If any flags are
|
prints the number of lines, words, and bytes in each file. If any flags are
|
||||||
given, wc will print only the requested information. If no files are given, wc
|
given, wc will print only the requested information. If no files are given, wc
|
||||||
reads stdin.
|
reads stdin.
|
||||||
.SH OPTIONS
|
.Sh OPTIONS
|
||||||
.TP
|
.Bl -tag -width Ds
|
||||||
.B \-c
|
.It Fl c
|
||||||
print the number of bytes.
|
print the number of bytes.
|
||||||
.TP
|
.It Fl l
|
||||||
.B \-l
|
|
||||||
print the number of lines.
|
print the number of lines.
|
||||||
.TP
|
.It Fl m
|
||||||
.B \-m
|
|
||||||
print the number of characters, not bytes.
|
print the number of characters, not bytes.
|
||||||
.TP
|
.It Fl w
|
||||||
.B \-w
|
|
||||||
print the number of words.
|
print the number of words.
|
||||||
|
.El
|
||||||
|
|
20
yes.1
20
yes.1
|
@ -1,10 +1,12 @@
|
||||||
.TH YES 1 sbase\-VERSION
|
.Dd January 30, 2015
|
||||||
.SH NAME
|
.Dt YES 1 sbase\-VERSION
|
||||||
yes \- output a string repeatedly
|
.Os
|
||||||
.SH SYNOPSIS
|
.Sh NAME
|
||||||
.B yes
|
.Nm yes
|
||||||
.RB [ string ... ]
|
.Nd output a string repeatedly
|
||||||
.SH DESCRIPTION
|
.Sh SYNOPSIS
|
||||||
.B yes
|
.Nm
|
||||||
|
.Op Ar string ...
|
||||||
|
.Sh DESCRIPTION
|
||||||
|
.Nm
|
||||||
will repeatedly output 'y' or the strings specified.
|
will repeatedly output 'y' or the strings specified.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user