update manpages
This commit is contained in:
parent
416a068df6
commit
47308190b3
@ -12,3 +12,5 @@ prints the
|
||||
with any leading path components, and the
|
||||
.IR suffix ,
|
||||
removed.
|
||||
.SH SEE ALSO
|
||||
.IR basename (3)
|
||||
|
2
chown.1
2
chown.1
@ -13,3 +13,5 @@ changes the user or group ownership for the given files.
|
||||
.TP
|
||||
.B -R, -r
|
||||
change directory ownership recursively.
|
||||
.SH SEE ALSO
|
||||
.IR chown (2)
|
||||
|
4
date.1
4
date.1
@ -11,10 +11,12 @@ date \- print date and time
|
||||
prints the date and time. If a
|
||||
.I format
|
||||
is given it is used to format the date as per
|
||||
.BR strftime (3).
|
||||
.IR strftime (3).
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.BI \-d " time"
|
||||
prints
|
||||
.I time
|
||||
instead of the system time, given as the number of seconds since the Unix epoch.
|
||||
.SH SEE ALSO
|
||||
.IR strftime (3)
|
||||
|
@ -9,3 +9,5 @@ dirname \- strip final path component
|
||||
prints the
|
||||
.I string
|
||||
with its final path component removed.
|
||||
.SH SEE ALSO
|
||||
.IR dirname (3)
|
||||
|
4
grep.1
4
grep.1
@ -9,7 +9,7 @@ grep \- search files for a pattern
|
||||
.SH DESCRIPTION
|
||||
.B grep
|
||||
searches the input files for lines that match the pattern, a regular expression as defined in
|
||||
.BR regex (7).
|
||||
.IR regex (7).
|
||||
By default each matching line is printed to stdout. If no file is given, grep
|
||||
reads from stdin.
|
||||
.P
|
||||
@ -36,3 +36,5 @@ prints nothing, only returns status.
|
||||
selects lines which do
|
||||
.B not
|
||||
match the pattern.
|
||||
.SH SEE ALSO
|
||||
.IR regex (7)
|
||||
|
2
head.c
2
head.c
@ -38,7 +38,7 @@ void
|
||||
head(FILE *fp, const char *str, long n)
|
||||
{
|
||||
char buf[BUFSIZ];
|
||||
int i;
|
||||
long i;
|
||||
|
||||
for(i = 0; i < n && fgets(buf, sizeof buf, fp); i++)
|
||||
fputs(buf, stdout);
|
||||
|
5
ln.1
5
ln.1
@ -20,3 +20,8 @@ be linked into the given directory.
|
||||
.TP
|
||||
.B \-s
|
||||
create a symbolic link.
|
||||
.SH SEE ALSO
|
||||
.IR cp (1),
|
||||
.IR mv (1),
|
||||
.IR link (2),
|
||||
.IR symlink (2)
|
||||
|
2
mkfifo.1
2
mkfifo.1
@ -7,3 +7,5 @@ mkfifo \- make named pipe
|
||||
.SH DESCRIPTION
|
||||
.B mkfifo
|
||||
creates named pipes (FIFOs) with the given names.
|
||||
.SH SEE ALSO
|
||||
.IR mkfifo (3)
|
||||
|
2
pwd.1
2
pwd.1
@ -6,3 +6,5 @@ pwd \- print working directory
|
||||
.SH DESCRIPTION
|
||||
.B pwd
|
||||
prints the path of the current working directory.
|
||||
.SH SEE ALSO
|
||||
.IR getcwd (3)
|
||||
|
2
rm.1
2
rm.1
@ -15,3 +15,5 @@ ignore files that cannot be removed.
|
||||
.TP
|
||||
.B \-r
|
||||
remove directories recursively.
|
||||
.SH SEE ALSO
|
||||
.IR remove (3)
|
||||
|
2
sleep.1
2
sleep.1
@ -7,3 +7,5 @@ sleep \- wait for a number of seconds
|
||||
.SH DESCRIPTION
|
||||
.B sleep
|
||||
waits until the given number of seconds have elapsed.
|
||||
.SH SEE ALSO
|
||||
.IR sleep (3)
|
||||
|
Loading…
Reference in New Issue
Block a user