From joshua.lokken@gmail.com  Thu Dec 30 16:22:21 2004
Return-Path: <joshua.lokken@gmail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B780916A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 30 Dec 2004 16:22:21 +0000 (GMT)
Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5B57243D39
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 30 Dec 2004 16:22:21 +0000 (GMT)
	(envelope-from joshua.lokken@gmail.com)
Received: by wproxy.gmail.com with SMTP id 55so93845wri
        for <FreeBSD-gnats-submit@freebsd.org>; Thu, 30 Dec 2004 08:22:20 -0800 (PST)
Received: by 10.54.28.19 with SMTP id b19mr528262wrb;
        Thu, 30 Dec 2004 08:22:20 -0800 (PST)
Received: by 10.54.11.33 with HTTP; Thu, 30 Dec 2004 08:22:20 -0800 (PST)
Message-Id: <bc5b6385041230082227102911@mail.gmail.com>
Date: Thu, 30 Dec 2004 10:22:20 -0600
From: Joshua Lokken <joshua.lokken@gmail.com>
Reply-To: Joshua Lokken <joshua.lokken@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: PR: less -f behavior contradicts man page

>Number:         75662
>Category:       gnu
>Synopsis:       less -f behavior contradicts man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 30 16:30:32 GMT 2004
>Closed-Date:    Tue Jul 17 07:15:45 GMT 2007
>Last-Modified:  Tue Sep 03 23:04:41 UTC 2013
>Originator:     Network Administrator
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD kenny.okken.local 4.11-STABLE FreeBSD 4.11-STABLE #0:
Wed Dec 29 18:08:45 CST 2004 root@:/usr/obj/data/src/sys/KENNY i386


>Description:
   The man page for less(1) says:

   -f or --force
      Forces non-regular files to be opened.  (A non-regular file is a
      directory or a device special file.)  Also suppresses the  warn-
      ing message when a binary file is opened.  By default, less will
      refuse to open non-regular files.

   However, if passed the -f or --force flags, less does not open a
   directory.

>How-To-Repeat:
   
   # less -f <directory_name>
   <directory_name> is a directory

   # less --force <directory_name>
   <directory_name> is a directory
   
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->delphij 
Responsible-Changed-By: ru 
Responsible-Changed-When: Thu Oct 12 14:03:58 UTC 2006 
Responsible-Changed-Why:  
Xin, you imported new less recently, perhaps you can ask vendor 
to fix this documentation bug? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75662 
State-Changed-From-To: open->analyzed 
State-Changed-By: delphij 
State-Changed-When: Tue Mar 20 14:13:23 UTC 2007 
State-Changed-Why:  
Vendor has confirmed that this is a bug in the documentation, 
and will hopefully fix the issue in the next update. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75662 
State-Changed-From-To: analyzed->patched 
State-Changed-By: delphij 
State-Changed-When: Tue Jun 5 05:14:02 UTC 2007 
State-Changed-Why:  
The less version found in -CURRENT has fixed the inconsistency, 
pending MFC. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75662 
State-Changed-From-To: patched->closed 
State-Changed-By: delphij 
State-Changed-When: Tue Jul 17 07:15:27 UTC 2007 
State-Changed-Why:  
less v406 MFC'ed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75662 
>Unformatted:
