title: How to execute Linux nested command line tersely?
body: <p>Here nested command line means one command's output is another command's input. For example below:</p>
  
  <pre><code>$ CmdA
  
  output1 output2 output3...
  </code></pre>
  
  <p>Now I want to run CmdB which use the output of CmdA as arguments. So How to <strong>run CmdB tersely</strong> instead of using</p>
  
  <p><code>$ CmdB output1 output2 output3...</code></p>
  
  <p>I have an actual problem now:</p>
  
  <pre><code>$ python-config --cflags --ldflags
  
  -I/usr/include/python2.7 -I/usr/include/python2.7 -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv
  -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic
  </code></pre>
  
  <p>As you see, there are many items generated from command python-config. If I compile a .cpp source file, i have to write all the items like </p>
  
  <p><code>gcc test.cpp -I/usr/include/python2.7 -fno-strict-aliasing -02 -g -pipe........-o test</code>, So i just want to find a simple way to execute the caller command.</p>
  
  <p>Thanks for tips!</p>