9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
I'm writing a script to get content of web pages on different machines and compare them using their md5 hash
hear is my code
#!/bin/bash
# Cluster 1
CLUSTER1_SERVERS="srv01:7051 srv02:7052 srv03:7053 srv04:7054"
CLUSTER1_APPLIS="test/version.html test2/version.html... (2 Replies)
Discussion started by: gtam
2 Replies
2. Shell Programming and Scripting
Hello,
I'm writing a shell script to wget content web pages from multiple server into a variable and compare
if they match return 0 or return 2
#!/bin/bash
# Cluster 1
CLUSTER1_SERVERS="srv1 srv2 srv3 srv4"
CLUSTER1_APPLIS="test/version.html test2.version.jsp"
# Liste des... (4 Replies)
Discussion started by: gtam
4 Replies
3. Shell Programming and Scripting
Hey guys,
Unfortunatley, I can not use wget on our systems....
I am looking for another way for a UNIX script to test web pages and let me know if they are up or down for some of our application.
Has anyone saw this before?
Thanks,
Ryan (2 Replies)
Discussion started by: rwcolb90
2 Replies
4. UNIX for Dummies Questions & Answers
I can't quite seem to understand what the curl command does with a web address. I tried this:
curl O'Reilly Media: Tech Books, Conferences, Courses, News
but I just got the first few lines of a web page, and it's nowhere on my machine. Can someone elaborate? (2 Replies)
Discussion started by: Straitsfan
2 Replies
5. Shell Programming and Scripting
hello. i want to make an awk script to search an html file and output all the links (e.g .html, .htm, .jpg, .doc, .pdf, etc..) inside it. also, i want the links that will be output to be split into 3 groups (separated by an empty line), the first group with links to other webpages (.html .htm etc),... (1 Reply)
Discussion started by: adpe
1 Replies
6. UNIX for Dummies Questions & Answers
Is there any way to browse web pages while on the command line?
I know wget can download pages, but I was wondering if there was an option other than that. (2 Replies)
Discussion started by: vroomlicious
2 Replies
7. UNIX for Dummies Questions & Answers
Hi All!
Is this possible?
I know of several hundreds of urls linking to similar looking hp-ux man pages, like these. In these urls only the last words separated by / are changing in numbering, so we can generate these...
http://docs.hp.com/hpux/onlinedocs/B3921-90010/00/00/31-con.html... (2 Replies)
Discussion started by: Vishnu
2 Replies
8. Shell Programming and Scripting
Counts the number of hyperlinks in all web pages in the current directory and all of its sub-directories. Count in all files of type "*htm" and "*html" .
i want the output to look something like this:
Total number of web pages: (number)
Total number of links: (number)
Average number of links... (1 Reply)
Discussion started by: phillip
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
my company is considering a new development of our web site, which used to run on Apachi over Solaris.
The company who is going to do this for us knows only about developing it in ASP.
I guess this means we'll have to have another ISS server on NT for these dynamic pages :(
What are... (5 Replies)
Discussion started by: me2unix
5 Replies
pnmalias(1) General Commands Manual pnmalias(1)
NAME
pnmalias - antialias a portable anyumap.
SYNOPSIS
pnmalias [-bgcolor color] [-fgcolor color] [-bonly] [-fonly] [-balias] [-falias] [-weight w] [pnmfile]
DESCRIPTION
Reads a portable anymap as input, and applies anti-aliasing to background and foreground pixels. If the input file is a portable bitmap,
the output anti-aliased image is promoted to a graymap, and a message is printed informing the user of the change in format.
OPTIONS
-bgcolor colorb, -fgcolor colorf
set the background color to colorb, and the foreground to color to colorf. Pixels with these values will be anti-aliased. by
default, the background color is taken to be black, and foreground color is assumed to be white. The colors can be specified in
five ways:
o A name, assuming that a pointer to an X11-style color names file was compiled in.
o An X11-style hexadecimal specifier: rgb:r/g/b, where r g and b are each 1- to 4-digit hexadecimal numbers.
o An X11-style decimal specifier: rgbi:r/g/b, where r g and b are floating point numbers between 0 and 1.
o For backwards compatibility, an old-X11-style hexadecimal number: #rgb, #rrggbb, #rrrgggbbb, or #rrrrggggbbbb.
o For backwards compatibility, a triplet of numbers separated by commas: r,g,b, where r g and b are floating point numbers
between 0 and 1. (This style was added before MIT came up with the similar rgbi style.)
Note that even when dealing with graymaps, background and foreground colors need to be specified in the fashion described above. In
this case, background and foreground pixel values are taken to be the value of the red component for the given color.
-bonly, -fonly
Apply anti-aliasing only to background (-bonly), or foreground (-fonly) pixels.
-balias, -falias
Apply anti-aliasing to all pixels surrounding background (-balias), or foreground (-falias) pixels. By default, anti-aliasing takes
place only among neighboring background and foreground pixels.
-weight w
Use w as the central weight for the aliasing filter. W must be a real number in the range 0 < w < 1. The lower the value of w is,
the "blurrier" the output image is. The default is w = 1/3.
SEE ALSO
pbmtext(1), pnmsmooth(1), pnm(5)
AUTHOR
Copyright (C) 1992 by Alberto Accomazzi, Smithsonian Astrophysical Observatory.
30 April 1992 pnmalias(1)