http://bugzilla.novell.com/show_bug.cgi?id=537646 Summary: make 'less' able to 'open' folders. patch included Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: d.pashov@gmail.com QAContact: qa@suse.de Found By: --- Created an attachment (id=317358) --> (http://bugzilla.novell.com/attachment.cgi?id=317358) lessopen.sh with additional case to handle a directory. User-Agent: Opera/9.80 (X11; Linux x86_64; U; en-GB) Presto/2.2.15 Version/10.00 For long I thought it would be useful if "less" was able to open/list folders the same way it preprocesses many binary files like rpm, pdf ... I knew it was possible because fedora and mandriva had this functionality. I extended the lessopen.sh file (part of the "less" package) with 3 simple lines. The new lessopen.sh is attached. Reproducible: Always Steps to Reproduce: 1.less /some/folder 2. 3. Actual Results: /some/folder is a directory Expected Results: A list of the content of the folder. Preferably in the long format (ls -l). The addition is too simple to introduce any bug. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.