basename.3: Replace an ad-hoc table with a real one

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Eric S. Raymond 2013-06-20 23:43:32 +02:00 committed by Michael Kerrisk
parent 4df3a4bc62
commit c6076d0e53
1 changed files with 11 additions and 9 deletions

View File

@ -107,15 +107,17 @@ and
.BR basename () .BR basename ()
for different paths: for different paths:
.sp .sp
.nf .TS
.B "path dirname basename" lb lb lb
"/usr/lib" "/usr" "lib" l l l l.
"/usr/" "/" "usr" path dirname basename
"usr" "." "usr" /usr/lib /usr lib
"/" "/" "/" /usr/ / usr
"." "." "." usr . usr
".." "." ".." / / /
.fi . . .
.. . ..
.TE
.SH RETURN VALUE .SH RETURN VALUE
Both Both
.BR dirname () .BR dirname ()