Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] shell problem



On Wed, Jun 17, 2009 at 10:28 PM, Noah Watkins<jayhawk@example.com> wrote:
> On Thu, Jun 18, 2009 at 02:09:09PM +0900, Gleidson Pegoretti wrote:
>> how about this?
>>
>> man chmod | diff -u <(man chattr) -
>>
>
> clever. simpler: diff <(man chattr) <(man chmod)
>
> what is the <(..) syntax referred to?

You can find more details in the bash man page under "Process
Substitution", but it's very useful when you want to run something and
treat it's output as though it were a file.

maru


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links