Sponsored Content
Full Discussion: Tables and borders
Top Forums Shell Programming and Scripting Tables and borders Post 302195612 by fabtagon on Thursday 15th of May 2008 12:44:04 PM
Old 05-15-2008
What do you want to do with that table?

Use as input for some dumb script requiring constant length fields -> you need a real script solution
Simply have good looking logs -> go for csv or html idea

html idea: no, you don't need to be connected to the internet therefore, you just need a browser to view that html file. Even if you are on a text terminal (and do not want to copy that file to some X-machine) you can use lynx or w3m to view that html file.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Routing tables

Hey guys, I needed to add a route to my routing table and I got it to work but on reboot it gets removed. Anyone know what file I can add this route to so it stays on the machine after a reboot? (9 Replies)
Discussion started by: kingdbag
9 Replies

2. Shell Programming and Scripting

Converting tables of row data into columns of tables

I am trying to transpose tables listed in the format into format. Any help would be greatly appreciated. Input: test_data_1 1 2 90% 4 3 91% 5 4 90% 6 5 90% 9 6 90% test_data_2 3 5 92% 5 4 92% 7 3 93% 9 2 92% 1 1 92% ... Output:... (7 Replies)
Discussion started by: justthisguy
7 Replies

3. Shell Programming and Scripting

tables in scripts

Hi , I have two tables with same length t1 and t2, I want to cretae a new third table where i put the difference between the elements of t2 and t1, t3= t1 - t2 t3= t1 - t2 I am new to scripts, any help please? thanks (7 Replies)
Discussion started by: Celine19
7 Replies

4. Programming

How to render solid borders in NCURSES windows

Hello All Gr8 Linux Developers Out There, Background ========= I have created a ncurses application that is suppose to run only on the Linux's virtual console. This application will heavily utilize the ncurses windows to show window-based UI to the user. I am using CentOS5.x. The terminal for... (7 Replies)
Discussion started by: ku@ntum
7 Replies

5. Programming

C++ Dictionaries and tables

I was looking at this code from a programming book: #include <time.h> #include <iostream> #include <string> #include <deque> #include <map> #include <vector> #include <cstdlib> using namespace std; const int NPREF = 2; const char NONWORD = "\n"; // cannot appear as real line: we... (1 Reply)
Discussion started by: totoro125
1 Replies

6. Shell Programming and Scripting

Comparing two tables

I have defined a set of global variables at the beginning of my script as below: #ideal values export ITEM1=SUCCESS export ITEM2=FAILURE export ITEM3=UNAVAILABLE export ITEM5=FAILURE export ITEM6=SUCCESS now I have a shell script function which returns a value in below format. ITEM1... (1 Reply)
Discussion started by: ctrld
1 Replies

7. Shell Programming and Scripting

Compare with 2 tables

I have 3 file inputs, file1 20160302|5485368299953|96|510101223440252|USA|5485368299953|6|800|2300|0 20160530|5481379883742|7|510101242850814|USA|5481379883742|5|540|2181|1500 20160513|5481279653404|24|510100412142433|INDIA|5481279653404|3|380|1900|0... (1 Reply)
Discussion started by: radius
1 Replies

8. Shell Programming and Scripting

Help needed in sending file content with colors and borders

HI i am running a shell script in cron and storing the output of that script in a file say test.then i am copying the content of test to test1 and i will send the output of test to some email ids using mutt. Next time when the script executes i am comparing the contents of test and test1 and... (3 Replies)
Discussion started by: venkitesh
3 Replies

9. Web Development

Getting Rid of Annoying Bootstrap Table Borders and Wayward Table Lines

Bootstrap is great; but we have had some issues with Bootstrapped <tables> (and legacy <fieldset> elements) showing annoying, wayward lines. I solved that problem today with this simple jQuery in the footer: <script> $(function(){ $('tr, td, fieldset,... (0 Replies)
Discussion started by: Neo
0 Replies
W3M(1)							      General Commands Manual							    W3M(1)

NAME
w3m - a text based Web browser and pager SYNOPSIS
w3m [options] [URL or filename] DESCRIPTION
w3m is a World Wide Web (WWW) text based client. It has English and Japanese help files and an option menu and can be configured to use either language. It will display hypertext markup language (HTML) documents containing links to files residing on the local system, as well as files residing on remote systems. It can display HTML tables and frames. In addition, it can be used as a "pager" in much the same man- ner as "more" or "less". Current versions of w3m run on Unix (Solaris, SunOS, HP-UX, Linux, FreeBSD, and EWS4800) and on Microsoft Windows 9x/NT. OPTIONS
At start up, w3m will load any local file or remote URL specified at the command line. For help with runtime options, press "H" while run- ning w3m. Command line options are: -t tab set tab width -r ignore backspace effect -l line # of preserved line (default 10000) -I charset document charset -O charset display/output charset -B load bookmark -bookmark file specify bookmark file -T type specify content-type -m internet message mode -v visual startup mode -M monochrome display -N open URL of command line on each new tab -F automatically render frame -dump dump formatted page into stdout -cols width specify column width (used with -dump) -ppc count specify the number of pixels per character (4.0...32.0). Larger values will make tables narrower. [default 8.0] -ppl count specify the number of pixels per line (4.0...64.0) -dump_source dump page source into stdout -dump_head dump response of HEAD request into stdout -dump_both dump HEAD and source into stdout -dump_extra dump HEAD, source, and extra information into stdout -post file use POST method with file content -header string insert string as a header +<num> goto <num> line -num show line number -no-proxy don't use proxy -4 IPv4 only (-o dns_order=4) -6 IPv6 only (-o dns_order=6) -no-mouse don't use mouse -cookie use cookie. -no-cookie don't use cookie -graph use graphic character -no-graph don't use graphic character -S squeeze multiple blank lines -W toggle wrap search mode -X don't use termcap init/deinit -title [=TERM] set buffer name to terminal title string. If TERM is specified, use the TERM style title configuration. -o opt=value assign value to config option -show-option show all available config option -config file specify config file -help show usage -version show w3m version -reqlog write request logfile -debug DO NOT USE EXAMPLES
To use w3m as a pager: $ ls | w3m To use w3m to translate HTML files: $ cat foo.html | w3m -T text/html or $ cat foo.html | w3m -dump -T text/html >foo.txt FILES
${HOME}/.w3m/config configuration file ${HOME}/.w3m/keymap key binding configuration file ${HOME}/.w3m/mouse mouse configuration file ${HOME}/.w3m/cookie cookie file ${HOME}/.w3m/history history file ${HOME}/.w3m/passwd passowrd and username file ${HOME}/.w3m/pre_form form parameters file ${HOME}/.w3m/mailcap external viewer configuration file ${HOME}/.w3m/mime.types MIME types file NOTES
This is the w3m 0.5.3 Release. Please see the MANUAL.html file distributed with w3m for more detailed documentation. Additional information about w3m may be found on its Japanese language Web site located at: http://w3m.sourceforge.net/index.ja.html or on its English version of the site at: http://w3m.sourceforge.net/index.en.html ACKNOWLEDGMENTS
w3m has incorporated code from several sources. Users have contributed patches and suggestions over time. AUTHOR
Akinori ITO <aito@fw.ipsj.or.jp> 4th Berkeley Distribution Local W3M(1)
All times are GMT -4. The time now is 07:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy