Tiny Core Linux

Tiny Core Extensions => TCE News => TCE 2.x => Topic started by: Jason W on February 27, 2010, 09:43:05 PM

Title: less
Post by: Jason W on February 27, 2010, 09:43:05 PM
Thanks to bmarkus for:

Code: [Select]
Title:          less-doc.tcz
Description:    Similar to more with backward and forward movement
Version:        418
Author:         Various
Original-site:  http://ftp.gnu.org/gnu/less/
Copying-policy: GPL v3
Size:           33k
Extension_by:   bmarkus
Comments:       GNU version replacing BusyBox equivalent in base
                ----
                Doc files only
                ----
                Compiled for TC2.x
                ----
                PPI compatible
Change-log:     ----
Current:        2010/02/27 First version





Code: [Select]
Title:          less.tcz
Description:    Similar to more with backward and forward movement
Version:        418
Author:         Various
Original-site:  http://ftp.gnu.org/gnu/less/
Copying-policy: GPL v3
Size:           66k
Extension_by:   bmarkus
Comments:       GNU version replacing BusyBox equivalent in base
                ----
                Binaries only
                ----
                Compiled for TC2.x
                ----
                PPI compatible
Change-log:     ----
Current:        2010/02/27 First version




Title: Re: less
Post by: markotitel on April 19, 2010, 10:37:48 PM
Hi, I noticed something about less command, at least in my installation.

When I try
Code: [Select]
ls --help | less I get blank screen, like all help options for LS are scrolled up and i cant scroll to see them.
Title: Re: less
Post by: gerald_clark on April 20, 2010, 12:54:30 AM
less only works for files or stdin.
It will not work with stderr.
try:
ls --help 2>&1 | less
Title: Re: less
Post by: markotitel on April 20, 2010, 06:11:41 AM
what  2>&1 do?
Title: Re: less
Post by: ^thehatsrule^ on April 20, 2010, 06:01:54 PM
It redirects stderr to stdout.