Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/file/dist/doc remove dup code.



details:   https://anonhg.NetBSD.org/src/rev/4b190a7f01d3
branches:  trunk
changeset: 764942:4b190a7f01d3
user:      christos <christos%NetBSD.org@localhost>
date:      Fri May 13 21:15:34 2011 +0000

description:
remove dup code.

diffstat:

 external/bsd/file/dist/doc/file.1 |  52 +--------------------------------------
 1 files changed, 1 insertions(+), 51 deletions(-)

diffs (73 lines):

diff -r 9d89fb41a1df -r 4b190a7f01d3 external/bsd/file/dist/doc/file.1
--- a/external/bsd/file/dist/doc/file.1 Fri May 13 19:14:17 2011 +0000
+++ b/external/bsd/file/dist/doc/file.1 Fri May 13 21:15:34 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: file.1,v 1.6 2011/05/13 01:52:13 christos Exp $
+.\"    $NetBSD: file.1,v 1.7 2011/05/13 21:15:34 christos Exp $
 .\"
 .\" $File: file.man,v 1.94 2011/04/20 19:08:44 christos Exp $
 .Dd April 20, 2011
@@ -166,14 +166,6 @@
 .Dq data .
 .Sh OPTIONS
 .Bl -tag -width indent
-.It Fl 0 , Fl Fl print0
-Output a null character
-.Sq \e0
-after the end of the filename.
-Nice to
-.Xr cut 1
-the output.
-This does not affect the separator which is still printed.
 .It Fl b , Fl Fl brief
 Do not prepend filenames to output lines (brief mode).
 .It Fl C , Fl Fl compile
@@ -373,48 +365,6 @@
 and
 .Fl h
 options.
-.Sh FILES
-.Bl -tag -width /usr/share/misc/magic.mgc -compact
-.It Pa /usr/share/misc/magic.mgc
-Default compiled list of magic.
-.It Pa /usr/share/misc/magic
-Directory containing default magic files.
-.El
-.Sh EXIT STATUS
-.Ex -std
-.Sh EXAMPLES
-.Bd -literal -offset indent
-$ file file.c file /dev/{wd0a,hda}
-file.c:   C program text
-file:     ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
-         dynamically linked (uses shared libs), stripped
-/dev/wd0a: block special (0/0)
-/dev/hda: block special (3/0)
-
-$ file -s /dev/wd0{b,d}
-/dev/wd0b: data
-/dev/wd0d: x86 boot sector
-
-$ file -s /dev/hda{,1,2,3,4,5,6,7,8,9,10}
-/dev/hda:   x86 boot sector
-/dev/hda1:  Linux/i386 ext2 filesystem
-/dev/hda2:  x86 boot sector
-/dev/hda3:  x86 boot sector, extended partition table
-/dev/hda4:  Linux/i386 ext2 filesystem
-/dev/hda5:  Linux/i386 swap file
-/dev/hda6:  Linux/i386 swap file
-/dev/hda7:  Linux/i386 swap file
-/dev/hda8:  Linux/i386 swap file
-/dev/hda9:  empty
-/dev/hda10: empty
-
-$ file -i file.c file /dev/{wd0a,hda}
-file.c:      text/x-c
-file:        application/x-executable
-/dev/hda:    application/x-not-regular-file
-/dev/wd0a:   application/x-not-regular-file
-
-.Ed
 .Sh SEE ALSO
 .Xr hexdump 1 ,
 .Xr od 1 ,



Home | Main Index | Thread Index | Old Index