[Novalug] question about ls

Nino R. Pereira ninorpereira@gmail.com
Mon Jan 16 19:05:09 EST 2012


On 01/16/2012 06:43 PM, Ed James wrote:
> Nino,
>
>     grep -e -L temp
>
> Ed James
>

aha, that works, and

man ls | grep -e -L

also works the same way. So, I needed to know the '-e' option,.

Contrary to what I seemed to understand from 'man grep',
this would be the same as ( but deprecated) egrep. When I try
this it doesn't work.

I'm learning, keep the info coming.

Thank you all,

Nino



On 1/16/12, Nino R. Pereira <ninorpereira@gmail.com> wrote:
> ...
>> which gives me a file I want to search for '-L' with grep.
>> But, this doesn't work because in the command
>>
>> cat temp | grep -L
>>
>> grep thinks '-L' is an option, and when I do
>>
>> cat temp | grep '-L'   (or even 'grep -i '-L')
>>
>> it isn't any better.
>>
>> How do I get ls to tell me
> ...




More information about the Novalug mailing list