12-14-2017
Thanks don.
($(
this should be good!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
How to sort a fixed length file on a given char range and just display the duplicates.
I did search for man sort to find any option but could find any.,something similar to cut -c 1-5,25-35.
I have alternate way of doing this by using combination of cut,awk. but this
creates extra temp... (6 Replies)
Discussion started by: sach_in
6 Replies
2. Shell Programming and Scripting
Hi experts,
How to get the length of an Array in PERL.
for eg., @Var having 5 elements.
regards
Anent (5 Replies)
Discussion started by: anent
5 Replies
3. Shell Programming and Scripting
I'm trying to find the longest word in /usr/share/dict/words
The first thing I can think of is to sort the content by length then it would be easy to find out, but then i realize theres no option of sort to sort by length.
Could you guys please give me some help?:confused: (7 Replies)
Discussion started by: rockbike
7 Replies
4. Shell Programming and Scripting
I have a 1250 byte record that I need to sort in column 10-19 and in column 301. I have tried the sort command, but it looks like it needs delimiters to work. The record can have spaces in a lot of its 1250 columns, but 10-19, and 301 are guaranteed. These columns are numeric too.
A sample... (1 Reply)
Discussion started by: mb1201
1 Replies
5. Shell Programming and Scripting
I was trying to use the AIX 6.1 sort command to sort fixed-length data records, sorting by specific columns only. It took some time to figure out how to get it to work, so I wanted to share the solution. The sort man page wasn't much help, because it talks about field delimeters (default space... (1 Reply)
Discussion started by: CheeseHead1
1 Replies
6. Shell Programming and Scripting
I've been searching high and low for this...but, maybe I'm just missing something. I have a file to be sorted that, unfortunately, contains binary data at the end of the line. As you may guess, this binary data may contain a newline character, which messes up the sort. I think I could resolve this... (5 Replies)
Discussion started by: jcagle
5 Replies
7. Shell Programming and Scripting
Hello All,
I have this script that does stuff like "starting, stopping & restarting" a Daemon Process running on my machine...
My main question is why in part of my code (which you will see below) does the Array Length (i.e. ${#PIDS} )
return "1" when I know the Array is empty..?
Here is... (17 Replies)
Discussion started by: mrm5102
17 Replies
8. Shell Programming and Scripting
Hi,
I want to be able to sort/print a hash based on the string length of the values.
For example
%hash = (
key1 => 'jeri',
key2 => 'corona',
key3 => 'una,
);
I want to be able to print in the following order (smallest to largest)
una,jeri,corona
OR... (1 Reply)
Discussion started by: jdilts
1 Replies
9. Shell Programming and Scripting
Hi Experts,
Quick quesion:
I want to sort this in the file , but not working, when using # sort file name
305.932
456.470
456.469
456.468
456.467
172.089
456.467
456.466
456.465
111.573
111.578
111.572
111.572
87.175
87.174
75.898 (4 Replies)
Discussion started by: rveri
4 Replies
10. Programming
Hello;
When I wrote a function to print out an array,
void p_array(int arr)
{
int i;
int size = sizeof(arr) / sizeof(int);
// int size = sizeof (arr) / sizeof (arr);
for (i = 0; i < size; i++)
printf("%d ", arr);
printf("\n");
}I could only print out the... (19 Replies)
Discussion started by: yifangt
19 Replies
LEARN ABOUT DEBIAN
vilistextum
VILISTEXTUM(1) General Commands Manual VILISTEXTUM(1)
NAME
vilistextum - html to ascii converter
SYNOPSIS
vilistextum [OPTIONS] [inputfile |-] [outputfile | -]
DESCRIPTION
vilistextum is a html to ascii converter specifically programmed to get the best out of incorrect html.
OPTIONS
inputfile,- resp. outputfile,-
replace inputfile with '-' for reading from standard input, likewise outputfile with '-' for writing to standard output.
-a, --no-alt
don't output anything for IMG tags even if they have an ALT attribute. Implies --no-image.
-c, --convert-tags
some tags will be converted to special characters.
-e, --errorlevel NUMBER
increase level of verbosity for error messages (0: No error messages).
-i, --defimage STRING
IMG tags without alt attribute are output as [STRING].
-l, --links
numbers the links in the document and creates footnotes of each link at the end of the file.
-k, --links-inline
print the links directly after the html tag.
-m, --dont-convert-characters
don't convert the entities from windows1252 (€-Ÿ and their proper entity names)
-n, --no-image
don't output [Image] for IMG tags that have no ALT attribute.
-p, --palm
output text more suitable for reading on a PDA.
-r, --remove-empty-alt
if there is an empty ALT attribute in a IMG tag (eg <IMG href="..." alt="">), don't output '[]'.
-s, --shrink-lines [NUMBER]
if there are more than NUMBER empty lines, output only NUMBER. Default: 1.
-t, --no-title
don't output title.
-w, --width NUMBER
maximum line width.
-h, --help
display this help and exit
-v, --version
output version information and exit
MULTIBYTE OPTIONS (Only available if compiled with multibyte support)
-u, --output-utf-8
instead of the character set of the html document, everything will be output as utf-8.
-x, --translit
use the //TRANSLIT feature of libiconv. Consult the iconv manual for details.
-y, --charset CHARSET
if the HTML document doesn't provide a character set in the meta tags, use CHARSET.
LIMITATIONS
The rendering of tables is not very good.
The handling of OL is incomplete. The program treats it as UL and more than 10 nested lists confuse it.
Text is never justified.
REPORTING BUGS
Please report bugs to <bhaak@gmx.net>.
AUTHOR
Vilistextum was written by Patric Mueller <bhaak@gmx.net> and may be freely distributed under the terms of the GNU General Public License
Version 2. There is ABSOLUTELY NO WARRANTY for this program.
SEE ALSO
iconv(3), lynx(1), links(1), w3m(1)
22 OCT 2006 VILISTEXTUM(1)