1( 2 foo && 3 x=$( 4 echo bar | 5 cat 6 ) && 7 echo ok 8) | 9sort
(
foo &&
x=$(
echo bar |
cat
) &&
echo ok
) |
sort