LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-19-2009, 03:54 AM   #1
ravidangaych
LQ Newbie
 
Registered: Apr 2009
Posts: 27

Rep: Reputation: 15
Question 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
 
Old 06-19-2009, 09:42 AM   #2
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
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
 
Old 06-20-2009, 01:42 AM   #3
ravidangaych
LQ Newbie
 
Registered: Apr 2009
Posts: 27

Original Poster
Rep: Reputation: 15
i want to create table and want to display that table using

dialog --textbox file 30 70

or

dialog --msgbox " " 30 70
 
  


Reply

Tags
table



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BASH Shell Scripting tekmann33 Linux - General 4 02-08-2007 05:03 PM
Bash shell scripting Sco Linux - Newbie 1 11-09-2004 11:58 AM
Bash Shell Scripting Help Tangerine Programming 6 05-06-2003 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration