Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

12
  • 1
    In your OPTIONS assignment, you appear to be confusing array construction ( ... ) with command substitution $( ... ) Commented Jan 28, 2023 at 3:01
  • I do not realy understand, but I also think that it is on tntry RESULT=$ the problem. The menu doesn't even showup. It jumps directly to the last command. Any advice is welcome. @steeldriver Commented Jan 28, 2023 at 3:06
  • I can see it's also used here, but do not understand it well yet: stackoverflow.com/questions/9084257/… Commented Jan 28, 2023 at 3:08
  • so far as I can see, RESULT=$( ... ) is not a problem because you are trying to substitute the output of the dialog command Commented Jan 28, 2023 at 3:14
  • @Wingarmac That's the syntax to create an array and to assign values to it, see Arrays. Commented Jan 28, 2023 at 3:15