Get gtkdialog EditBox to use function... [Solved]
Posted: Tue 20 Apr 2010, 14:05
I have an EntryBox cating a file through sed that works, why won`t a EditBox run a function?
I have:
The function gets a list from between 2 List-Start and List-End markers. It works...
The error: gtkdialog: Warning: Could not stat 'Command:menuITEMS'..
I have:
Code: Select all
menuITEMS() { echo "$(<$menuPF)" |sed -n '/#<.*_ITEMS/,/#>.*_ITEMS/p' |egrep -v '(<|>)'
} ; export -f menuITEMS
<edit><variable>ITEMS</variable><input>menuITEMS</input></edit>
The error: gtkdialog: Warning: Could not stat 'Command:menuITEMS'..