1 -- $Id: expander.lua,v 1.1 2004/11/20 19:29:22 cpressey Exp $
2 -- Test of expander library.
15 spritz = "sbin/spritz",
16 mousse = "usr/bin/mousse",
17 conf = "usr/local/bin/conf"
20 e = Expander.new(dir_table, cmd_table)
22 print(e:expand("${root}${gel}"))
23 print(e:expand("${tmp}${conf}"))
24 print(e:expand("${home}${spritz}"))
25 print(e:expand("${home}${spritz}", { spritz = "usr/local/sbin/cabbage" } ))
26 print(e:expand("${home}${boo}"))