madhuneal / ppss

Automatically exported from code.google.com/p/ppss
0 stars 0 forks source link

Using PPSS with more than one $ITEM #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is not a problem regarding ppss use, rather an extension of its use -
by the  way, congratulations for the excellent job!

I have a command that needs 3 inputs in its command line, e.g., ppss -d
path/to/file -c 'command input1 input2 input3'

From the wiki, I understand that ppss can use only one item. Also, I would
like to use variables for those inputs (input1=$var/$ITEM), but the single
quote that ppss command use prevents parsing of any variable. 

Do you have any tips on how can I use more than one input $ITEM and also
how to use variables within the ppss command?

Thank you much.

Original issue reported on code.google.com by estephan...@gmail.com on 28 Mar 2010 at 10:44

GoogleCodeExporter commented 9 years ago
Thank you,

I understand your need, but I think it works. The single quotes are not a 
problem when using double quotes 
around the variables. It seems that an example with variables like this works:

ppss -d /tmp -c 'echo "$HOSTNAME/$ITEM" "$HOSTNAME"'

You will notice in the ppss_dir/job_log files that the expected output can be 
found.  Let me know if it works                                     
or not, or provide an examle of a situation that does not work out like this.   

Thanks for your report!

Original comment by Louwrentius on 30 Mar 2010 at 10:40

GoogleCodeExporter commented 9 years ago
Seems to be no issue.?

Original comment by Louwrentius on 3 Apr 2010 at 5:53