[GRLUG] Shell Scripting Term?

Michael Mol mikemol at gmail.com
Sun Aug 28 10:53:47 EDT 2011


On Sun, Aug 28, 2011 at 10:50 AM, Adam Tauno Williams
<awilliam at whitemice.org> wrote:
> On Sun, 2011-08-28 at 10:46 -0400, Adam Tauno Williams wrote:
>> I took my official shell scripting class a long time ago now.
>> In a shell script you can combine a sequence of commands into a single
>> stream by encapsulating them in parathesis, like -
>> (echo -e "Hello, \c"; cat name.txt) | sort
>> Is there a specific name/term for doing this?
>
> Doh!  Of course as soon as you give up trying to find it and post the
> question... the answer materializes on the screen.
>
> "parenthesized subexpression"

Ok, I learned *two* neat new things today. Thanks!


-- 
:wq

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the grlug mailing list