interface in shell (bash scripting)
Hello everyone,
I want to create an interface in bash just like the interface from Mysql in shell, with the borders around the text. I´ve tried to search on google but all it comes up with is how to make graphical user interfaces for scripts. any help is appreciated. |
I wrote a separate awk script to do this, which I often call from bash scripts as a command. It only draws one box layer around the text piped into it. If you want more, like a spreadsheet grid, maybe this would at least be a good starting example.
Code:
#!/usr/bin/gawk -f |
This might not be exactly what you're looking for, but what about dialog (http://en.wikipedia.org/wiki/Dialog_(software))?
|
Thanks for the information, now I got something to work with.
|
This interesting use of ncurses might be of interest to you.
--- rod. |
All times are GMT -5. The time now is 12:43 PM. |