Skip to content
Advertisement

how to customize select loop in bash

I was wondering if is possible customize the select loop for bash.

I have this code:

JavaScript

Output is something like this:

JavaScript

I would like to order the options in landscape view and also change the prompt [#?] by something else

Thanks

Advertisement

Answer

select displays the PS3 prompt.

You could try something like:

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement