From 8d72d0a033bda8fc3945af837f27627625512c23 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Thu, 25 Oct 2012 15:34:02 +0000 Subject: [PATCH] -k and -l improvements from Joerg Jenderek --- doc/file.man | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/doc/file.man b/doc/file.man index 0a8c7855..e5d0b661 100644 --- a/doc/file.man +++ b/doc/file.man @@ -1,5 +1,5 @@ -.\" $File: file.man,v 1.98 2011/12/08 12:12:46 rrt Exp $ -.Dd October 17, 2011 +.\" $File: file.man,v 1.99 2012/04/14 10:22:06 rrt Exp $ +.Dd October 25, 2012 .Dt FILE __CSECTION__ .Os .Sh NAME @@ -259,8 +259,16 @@ prepended. (If you want a newline, see the .Fl r option.) +The magic pattern with the highest strength (see the +.Fl l +option) comes first. .It Fl l , Fl Fl list -Print information about the strength of each magic pattern. +Shows a list of patterns and their strength sorted descending by +.Xr magic 4 +strength +which is used for the matching (see also the +.Fl k +option). .It Fl L , Fl Fl dereference option causes symlinks to be followed, as the like-named option in .Xr ls 1 @@ -268,8 +276,6 @@ option causes symlinks to be followed, as the like-named option in This is the default if the environment variable .Ev POSIXLY_CORRECT is defined. -.It Fl l -Shows sorted patterns list in the order which is used for the matching. .It Fl m , Fl Fl magic-file Ar magicfiles Specify an alternate list of files and directories containing magic. This can be a single item, or a colon-separated list. -- 2.40.0