Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #412344

Re: video posts - ls piped to less with color

From Snit <usenet@gallopinginsanity.com>
Newsgroups comp.os.linux.advocacy
Subject Re: video posts - ls piped to less with color
Date 2017-05-01 10:13 -0700
Message-ID <D52CBAB4.A2DF7%usenet@gallopinginsanity.com> (permalink)
References <546dnfcHL_Db9ZvEnZ2dnUU7-YudnZ2d@giganews.com> <281d7a1f-beb4-4c4e-9fd9-98e70ee7e87c@googlegroups.com> <47OdndIUIMooGpvEnZ2dnUU7-SGdnZ2d@giganews.com> <6f56ac33-3133-4b6a-9cb4-f0ee6f22fa65@googlegroups.com> <ac802.bu94@rooftop.invalid>

Show all headers | View raw


On 5/1/17, 8:29 AM, in article ac802.bu94@rooftop.invalid, "owl"
<owl@rooftop.invalid> wrote:

> Steve Carroll <fretwizzer@gmail.com> wrote:
>> On Sunday, April 30, 2017 at 6:56:28 PM UTC-6, Marek Novotny wrote:
>>> On 2017-05-01, Steve Carroll <fretwizzer@gmail.com> wrote:
>>>> On Sunday, April 30, 2017 at 4:42:23 PM UTC-6, Marek Novotny wrote:
>>>>> Hi group,
>>>>> 
>>>>> Posted a stupid Linux tip... If you like piping long directories to
>>>>> less but want to see the ls --color=auto still working in the less
>>>>> command then this is for you.
>>>>> 
>>>>> ls piped to less with color
>>>>> 
>>>>> https://youtu.be/-_AHF3-329k
>>>> 
>>>> 
>>>> Nice to know, thanks!
>>>> 
>>>> By the way... can I dump this?
>>> 
>>> Yeah, heck yeah. Dump away.
>> 
>> Done.
>> (but I still think you should do something like that)
>> 
>> For grins, I tried "ls -al  -color | less -R" on my Mac, which I thought
>> should work, 
>> but it didn't.
> 
> This works on FreeBSD:
> $ CLICOLOR_FORCE=1 ls -alG |less -R
> Might work on Mack.
> 
> 

Tested: works fine here. Thank you!


-- 
Personal attacks from those who troll show their own insecurity. They cannot
use reason to show the message to be wrong so they try to feel somehow
superior by attacking the messenger.

They cling to their attacks and ignore the message time and time again.

<https://youtu.be/H4NW-Cqh308>

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

video posts - ls piped to less with color Marek Novotny <marek.novotny@marspolar.com> - 2017-04-30 17:42 -0500
  Re: video posts - ls piped to less with color Chris Ahlstrom <OFeem1987@teleworm.us> - 2017-04-30 19:05 -0400
  Re: video posts - ls piped to less with color Steve Carroll <fretwizzer@gmail.com> - 2017-04-30 17:28 -0700
    Re: video posts - ls piped to less with color Marek Novotny <marek.novotny@marspolar.com> - 2017-04-30 19:56 -0500
      Re: video posts - ls piped to less with color Steve Carroll <fretwizzer@gmail.com> - 2017-05-01 07:40 -0700
        Re: video posts - ls piped to less with color Marek Novotny <marek.novotny@marspolar.com> - 2017-05-01 09:59 -0500
          Re: video posts - ls piped to less with color Snit <usenet@gallopinginsanity.com> - 2017-05-01 11:58 -0700
          Re: video posts - ls piped to less with color Chris Ahlstrom <OFeem1987@teleworm.us> - 2017-05-02 07:49 -0400
            Re: video posts - ls piped to less with color Marek Novotny <marek.novotny@marspolar.com> - 2017-05-02 07:43 -0500
              Re: video posts - ls piped to less with color Chris Ahlstrom <OFeem1987@teleworm.us> - 2017-05-02 12:13 -0400
              Re: video posts - ls piped to less with color Snit <usenet@gallopinginsanity.com> - 2017-05-02 09:59 -0700
            Re: video posts - ls piped to less with color Snit <usenet@gallopinginsanity.com> - 2017-05-02 10:12 -0700
        Re: video posts - ls piped to less with color Peter Köhlmann <peter-koehlmann@t-online.de> - 2017-05-01 17:26 +0200
          Re: video posts - ls piped to less with color Snit <usenet@gallopinginsanity.com> - 2017-05-01 11:58 -0700
        Re: video posts - ls piped to less with color owl <owl@rooftop.invalid> - 2017-05-01 15:29 +0000
          Re: video posts - ls piped to less with color Steve Carroll <fretwizzer@gmail.com> - 2017-05-01 08:45 -0700
          Re: video posts - ls piped to less with color Marek Novotny <marek.novotny@marspolar.com> - 2017-05-01 11:10 -0500
          Re: video posts - ls piped to less with color Snit <usenet@gallopinginsanity.com> - 2017-05-01 10:13 -0700

csiph-web