Bug 62050 - lesspipe.sh should handle directories passed to less
lesspipe.sh should handle directories passed to less
Product: Red Hat Linux
Classification: Retired
Component: less (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Karsten Hopp
Aaron Brown
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2002-03-26 19:28 EST by Need Real Name
Modified: 2007-04-18 12:41 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-05-14 21:21:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch (481 bytes, patch)
2002-05-14 02:00 EDT, Jens Petersen
no flags Details | Diff

  None (edit)
Description Need Real Name 2002-03-26 19:28:51 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20020314

Description of problem:
lesspipe.sh should handle directories in a similar fashion to tarballs, rpm
files, etc.  currently, less gives a "xxx is a directory" error message when it
is trivial to add support for directories to less vi the lesspipe.sh mechanism.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.less /

Actual Results:  / is a directory

Expected Results:  lesspipe.sh should have run `ls -hAlF` through less.

Additional info:
Comment 1 Jens Petersen 2002-05-14 02:00:59 EDT
Created attachment 57210 [details]
Comment 2 Jens Petersen 2002-05-14 02:02:04 EDT
the above patch implements this.
Comment 3 Philip Rowlands 2002-05-14 19:56:24 EDT
I suggested this in #17465, but it was rejected.
Comment 4 Jens Petersen 2002-05-14 21:20:55 EDT
presumably you mean bug 17456
Comment 5 Karsten Hopp 2002-06-18 19:15:29 EDT
I've finally added support for directories to less-358-27

Note You need to log in before you can comment on or make changes to this bug.