Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Fwd: input redirect from a variable



------- Forwarded Message

Mime-Version: 1.0
Message-Id: <pdy98830623095bbf58c3401e47@[192.168.1.2]>
Date: Thu, 22 Sep 2005 13:30:00 -0700
To: Peter Stephenson <pws@xxxxxxx>
From: Dave Yost <Dave@xxxxxxxx>
Subject: input redirect from a variable
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

Hi.

It seems to me that there should be a way to do something like this:

foo1="$(...)"
foo2="$(...)"

comm -3 <<<<$foo1 <<<<$foo2

where the <<<$foo1 syntax says to output $foo1 to a tmp file, then 
use that filenamne as the argument, then delete that file.

Thanks

Dave


 To report this email as spam click https://www.mailcontrol.com/sr/dV5V1+NNvfz0l6E4pUhSMFqZ4C4toP8iu3W+wAq8XC!nhDpvbkN9LMBQa+TOk!M04e16bR4uI6G!jl5aNChCqde!Gqru15OTP1ncoqn8kbiVYaW8HVlGUtBYkbssd1PnpA4zSIG5OEHHXnBgUQNc1DDc7H2KqzK8bLzMluGArFap!K!fvkhzBLQDcu6!oYIymNRxq!w9HD4fHNgmFGL4XWvOCwpikgbX .

------- End of Forwarded Message



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author