On Wed, 2012-01-04 at 08:51 -0600, Thrall, Bryan wrote:
> Perhaps the OP was looking for something like apropos or whatis?
>
>
In this case, the OP was simply using "head" as an example to
show how piping the output of man was generating an unexpected
error. As you all know, Unix is rich in tex
Reid Thompson wrote on 2012-01-04:
> On Wed, 2012-01-04 at 08:51 -0600, Thrall, Bryan wrote:
>> Perhaps the OP was looking for something like apropos or whatis?
>>
>> Given that man already pipes its output through a pager, the OP could
>> just use the MANPAGER environment variable to do what he
On Wed, 2012-01-04 at 08:51 -0600, Thrall, Bryan wrote:
> Perhaps the OP was looking for something like apropos or whatis?
>
> Given that man already pipes its output through a pager, the OP could just
> use the MANPAGER environment variable to do what he wants:
>
> $ MANPAGER=head man gcc
> GC
Reid Thompson wrote on 2012-01-04:
> On Tue, 2012-01-03 at 15:30 -0600, Nellis, Kenneth wrote:
>> Thought maybe someone would be interested in the following error.
>>
>> $ man gcc | head
>> GCC(1)GNU
>> GCC(1)
>>
>>
>>
>> NAME
>>gcc - GNU project C and C
On Tue, 2012-01-03 at 15:30 -0600, Nellis, Kenneth wrote:
> Thought maybe someone would be interested in the following error.
>
> $ man gcc | head
> GCC(1)GNU
> GCC(1)
>
>
>
> NAME
>gcc - GNU project C and C++ compiler
>
> SYNOPSIS
>gcc [-c|-S|-E
5 matches
Mail list logo