LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how we can create table in bash shell scripting (https://www.linuxquestions.org/questions/linux-general-1/how-we-can-create-table-in-bash-shell-scripting-734120/)

ravidangaych 06-19-2009 03:54 AM

how we can create table in bash shell scripting
 
hi

i want to create table using bash shell scripting.

I want to display table in dialog box

lumak 06-19-2009 09:42 AM

as in print a table in ascii?

Code:

cat << EOF1

Regular text can be displayed like this
---------------------------------------

variables can be displayed normally $VARNAM

you can execute functions and commands by using $(echo hello)
to display their return value.
This will end in your script when interpreter will find matching
\/\/\/
EOF1

# This command is useful for displaying a single line of text
echo hello


ravidangaych 06-20-2009 01:42 AM

i want to create table and want to display that table using

dialog --textbox file 30 70

or

dialog --msgbox " " 30 70


All times are GMT -5. The time now is 07:19 AM.