The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 03-17-2008
era
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
I didn't read your code too carefully, so I could have missed something, but is there anything wrong with


Code:
echo 'some "command" --with options' | sh

You can have your variants, of course.


Code:
dhummy=`some "command" --with options`


Code:
fnord='some "command" --with options'
eval $fnord

etc etc.