Re: wildcard and variable expansion

2005-12-25 Thread David Jardine
On Sun, Dec 25, 2005 at 11:50:28PM +0100, Frank Gevaerts wrote: > On Sun, Dec 25, 2005 at 11:31:07PM +0100, Lubos Vrbka wrote: > > export MASTER_HOST=`hostname` > > export FILE_PATH=some_file_path > > pbsdsh -- /bin/sh -c 'scp $FILE_PATH/file* $MASTER_HOST:' > > Have you tried double quotes ? > pb

Re: wildcard and variable expansion

2005-12-25 Thread Frank Gevaerts
On Sun, Dec 25, 2005 at 11:31:07PM +0100, Lubos Vrbka wrote: > export MASTER_HOST=`hostname` > export FILE_PATH=some_file_path > pbsdsh -- /bin/sh -c 'scp $FILE_PATH/file* $MASTER_HOST:' Have you tried double quotes ? pbsdsh -- /bin/sh -c "scp $FILE_PATH/file* $MASTER_HOST:" Frank -- "Debuggin

wildcard and variable expansion

2005-12-25 Thread Lubos Vrbka
hi guys, i'm trying to solve the following problem and cannot find any working solution. it might seem to be very specialized on the first sight, but i think it's pretty general (and probably pretty easy) i'm using pbs pro queueing system and there is a tool called pbsdsh that runs given com