On Apr 30, 2008, at 5:39 AM, Jörg Sommer wrote:
… but I found the problem. I don't know how to pass the list from one
subshell to the other.
% { echo pick; echo merge; a=12 } | { echo +$a+; while read line; do
echo $line; done; }
++
pick
merge
The only idea I have is a file. Do you have a better idea?
% { echo pick; echo merge; a=12 } >/tmp/tmp; \
{ echo +$a+; while read line; do echo $line; done; } < /tmp/tmp
+12+
pick
merge
No, I don't. But I think the resulting code will be easier to read,
even with the file.
~~ Brian--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html