Get gtkdialog EditBox to use function... [Solved]

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

Get gtkdialog EditBox to use function... [Solved]

#1 Post by sunburnt »

I have an EntryBox cating a file through sed that works, why won`t a EditBox run a function?
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 function gets a list from between 2 List-Start and List-End markers. It works...
The error: gtkdialog: Warning: Could not stat 'Command:menuITEMS'..

Post Reply