Dear all.
I need to extract the title (text between <title> and </title>) of a set of HTML documents.
I've found a command that makes the work of extracting the text, but it does not always work.
It works with the next example:
cat a.txt
htmltext<title>This is a HTML... (2 Replies)
hi,
i have text file that file contains below information.
Name,Roll,Mark,Total
Sivasankar,2120,89,410
Raja,2212,87,425
i need to convert text file to CSV file also the heading(Name,Roll,Mark,Total) font should be BOLD and color should be RED. how can i set fonts in csv (5 Replies)
Hi guys - I was wondering if there is a way to add 'color' to a grep I do like this below:
fgrep -i "XYZ-1124354-P" mylog.log | tr "\001" " " | sed G (7 Replies)
input data in a file
servic webservice.somthing 200 OK
servic1 webservice.somthing 200 OK
servic1 webservice.somthing 400 BAD REQEST
Below script is making tabular form perfectly. but there are two thing i am not able to achive
1.how can i color the complete row as red when it see '400' in... (12 Replies)
Hi,
I need to get the Status Column in Green if it is approved and Red if it is declined in the HTML output attachment#!/bin/bash
body_csv="/authlistener/ProdA/service/queryRS.csv"
body_html="/authlistener/ProdA/service/queryRS.html"
... (1 Reply)
Hello friends - I use various grep commands to search for data in a file. However, to add 'color' seems to not work.
Is there a way to add color to two items that i search? so that i can easily identify in hundreds of lines of output what i am looking for?
zegrep abcdefg... (7 Replies)
Discussion started by: DallasT
7 Replies
LEARN ABOUT DEBIAN
imager::color::float
Imager::Color::Float(3pm) User Contributed Perl Documentation Imager::Color::Float(3pm)NAME
Imager::Color::Float - Rough floating point sample color handling
SYNOPSIS
$color = Imager::Color->new($red, $green, $blue);
$color = Imager::Color->new($red, $green, $blue, $alpha);
$color = Imager::Color->new("#C0C0FF"); # html color specification
$color->set($red, $green, $blue);
$color->set($red, $green, $blue, $alpha);
$color->set("#C0C0FF"); # html color specification
($red, $green, $blue, $alpha) = $color->rgba();
@hsv = $color->hsv(); # not implemented but proposed
$color->info();
DESCRIPTION
This module handles creating color objects used by Imager. The idea is that in the future this module will be able to handle color space
calculations as well.
A floating point Imager color consists of up to four components, each in the range 0.0 to 1.0. Unfortunately the meaning of the components
can change depending on the type of image you're dealing with:
o for 3 or 4 channel images the color components are red, green, blue, alpha.
o for 1 or 2 channel images the color components are gray, alpha, with the other two components ignored.
An alpha value of zero is fully transparent, an alpha value of 1.0 is fully opaque.
METHODS
new This creates a color object to pass to functions that need a color argument.
set This changes an already defined color. Note that this does not affect any places where the color has been used previously.
rgba()
This returns the red, green, blue and alpha channels of the color the object contains.
info
Calling info merely dumps the relevant color to the log.
AUTHOR
Arnar M. Hrafnkelsson, addi@umich.edu And a great deal of help from others - see the "README" for a complete list.
SEE ALSO Imager(3), Imager::Color.
http://imager.perl.org/
perl v5.14.2 2011-06-06 Imager::Color::Float(3pm)