WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: less  (Read 2299 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
less
« 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





Offline markotitel

  • Newbie
  • *
  • Posts: 13
Re: less
« Reply #1 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.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: less
« Reply #2 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

Offline markotitel

  • Newbie
  • *
  • Posts: 13
Re: less
« Reply #3 on: April 20, 2010, 06:11:41 AM »
what  2>&1 do?

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: less
« Reply #4 on: April 20, 2010, 06:01:54 PM »
It redirects stderr to stdout.