bug in bpe_queue
Brought to you by:
wilmesj
According to my installation of bpe, when I try to use the q_size function, I repeatedly get an error.
/usr/local/lib/bpe/lib/queue.bp: line 54: [: q_exists: unary operator expected
if I go to the line in the queue.bp file, here is the line of code....
if [ ! q_exists "$1" ]; then
This line (which is used constantly throughout the rest of the queue.bp code) should be
if ! q_exists "$1"; then
See q_enq, q_deq, q_create, and q_destroy for how it was done/used before.
Thanks
I have no idea what /usr/local/lib/bpe/lib/queue.bp is -- a quick google search makes me think it may be related to the "IMS Base Primitive Environment" [http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/topic/com.ibm.ims9.doc.pdf/dfsbpeg4.pdf] -- but it's not in any way related to this project, sorry.