How can draw line on Ubuntu, shell programming?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How can draw line on Ubuntu, shell programming?
# 1  
Old 05-21-2015
How can draw line on Ubuntu, shell programming?

How can draw line on Ubuntu, shell programming?-123jpg

how can draw line like this? on ubuntu, shell programming.


i tried "-" , " l " but it's failed..
How can draw line on Ubuntu, shell programming?-123jpg
# 2  
Old 05-21-2015
This doesnt look shell to me.

Could try:
You cannot draw a box if you can just print 1 char per field, so you'd need some special chars, beeing a box themself.
So you could use such 'empty-box-chars' and colorize 'filled-box-chars'.

But as already said, this looks compiled to me.
Otherwise, since you have a screenshot, if you made it yourself from the script, have a look at the script or post it here.

hth
# 3  
Old 05-21-2015
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Shell script to read lines in a text file and filter user data Shell Programming and Scripting

sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies

2. Programming

Draw Bar Graph for GNUPLOT

For example, I have a file called data.txt. And the content is: Iker_Casillas 181 Raphael_Varane 182 Sergio_Ramos 182May I know how to write a script for gnuplot, so I can have a bar graph as the column 1 will be the x and column 2 will be the y? And I hope that the x value can be seen clearly.... (0 Replies)
Discussion started by: Tzeronone
0 Replies

3. Programming

Draw multicolor line

Hello. I need to draw many lines with multicolor (color is set by some pixmap (xpm)) on C++ with standart libs. Horizontal lines are drawing succsessfully with GC and XSetTile. But non-horizontal - no good. I rotate pixmap for all lines and then XSetTile for each line with own pixmap, but it's... (1 Reply)
Discussion started by: Yuriy
1 Replies

4. What is on Your Mind?

Do you draw flowcharts

Do you draw flowcharts while you do the programming , design new network or simmilar ? (8 Replies)
Discussion started by: solaris_user
8 Replies

5. Programming

Draw a 3D cylinder using openGL.

Hi, please give me, how to code to draw 3D cylinder in openGL, that should be rotated in x-direction. waiting for your reply .. (2 Replies)
Discussion started by: Ravikishore
2 Replies

6. Ubuntu

How to draw cylinder using openGL

Hi Sir, i am new to openGL, i want to know how to draw cylinder using openGL code in C or C++.. And i have to insert bitmap images on cylinder.. How to do this .. please guide me ... Thanking You in advance .. (0 Replies)
Discussion started by: Ravikishore
0 Replies

7. UNIX and Linux Applications

Corel Draw like software for Ubuntu

Hi guys, I need a software for Ubuntu *which has the capabilities of Corel Draw *which can open/import and use a .cdr template, i.e., template created by Corel Draw. *which has the same color codes, i.e., names for colors I have looked through Google, some suggested ones are Inkscape,... (7 Replies)
Discussion started by: apprentice
7 Replies

8. Shell Programming and Scripting

Is it possible to draw table/matrix using shell script?

Hi all, I need to create a matrix of variable rows and columns. Right now i have 3 rows and two columns and following values. Output something like TypeA TypeB TestCase1 Pass Fail TestCase2 Pass ... (2 Replies)
Discussion started by: jakSun8
2 Replies

9. Shell Programming and Scripting

Draw a Horizontal and Vertical line on UNIX

I want to draw a horizontal and vertical line on Unix. Please suggest some solution. (11 Replies)
Discussion started by: allways4u21
11 Replies

10. Solaris

draw graphics to stdout in solaris

Hi all.. I am trying to draw a line on the monitor on sun platform machine. I tried a simple program. #include<stdio.h> #include<plot.h> int main() { openpl(); linemod("dotted"); line(1000,1000,2000,2000); closepl(); return 0; } It doesn't produce the desired result. If one... (0 Replies)
Discussion started by: shivamasam
0 Replies
Login or Register to Ask a Question