[wplug] scripting -- executing a variable

Ryan W. Frenz rfrenz at andrew.cmu.edu
Mon Feb 16 14:40:41 EST 2004


I want to write a bash script that takes a command line argument and 
executes it, along with some other things.  What is an easy way to do 
this? 

# ! /bin/bash

set `getopt "$@"`

# run specified executable here
# $@; doesn't work

ps;



More information about the wplug mailing list