Groovy web console

subscribe to the feed Subscribe
to this
site

empty VAR

Published 2 weeks ago by Anonymous
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
String extra_vars = ''
if (!extra_vars) my_var = ''
//print '-e {'+my_var+'}'
my_var += my_var ? " -e '{$my_var}'" : ''