Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to change the font or color of text Post 302152118 by pssandeep on Tuesday 18th of December 2007 04:50:45 PM
Old 12-18-2007
Quote:
Originally Posted by porter
Plain text does not contain formatting information.

You would need to send HTML.

See https://www.unix.com/unix-advanced-ex...x-command.html

Now, what will happen to somebody not using an HTML capable mail reader?
we are using Outlook
Html can be printed in body of email
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Font Color Change Using .profile

Does anyone know how can I change font color, background color etc for a particular user using .profile? Any help is appreciated. (0 Replies)
Discussion started by: fifo_vs_lifo23
0 Replies

2. Shell Programming and Scripting

Change color or font when executing a script

I'm writing a simple menu script and I would like to output the whole script using background color: black AND foreground color:white. Meaning if the ssh terminal of a user is set to green for example, it will change to my desired color when menu script is executed. Once the script is exited, it... (1 Reply)
Discussion started by: lhareigh890
1 Replies

3. Shell Programming and Scripting

Change the font of text in output file in shell scipt

hi, I want to change the font of text in output file. :( I tried the below code code: if awk 'BEGIN{if('$RSS'>='1000')exit 0;exit 1}' then RED=`echo "\033 i can see colors in terminal but not in output file :wall: please help me how i can get colors text in output file. edit... (1 Reply)
Discussion started by: sreelu
1 Replies

4. Shell Programming and Scripting

font color in script

i am using ubuntu 11.04 and i just finished writing a shell script but i was wanting to know if their is a way to change the font color of just one sentence? (2 Replies)
Discussion started by: hotshot247
2 Replies

5. Shell Programming and Scripting

change text color in postscript file

Hi everyone, I have a program that produces postscript files on the fly The color of the files produced are in black and white I want to change the text color of postscript file as the file is being produced without having to manually go into the ps file and change it myself. Any Ideas?... (5 Replies)
Discussion started by: walforum
5 Replies

6. UNIX for Dummies Questions & Answers

How to change the background color in the init 3 mode(not line color)

Hello, I am using RHEL 6.1 on VMware I am searching for a way to change background color (not line by line color wich one can using tput command) basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
Discussion started by: Dexobox
2 Replies

7. Shell Programming and Scripting

Change text color in Korn shell to highlight Error

Hi this is my first post, so forgive me if what I'm requesting doesn't make sense. I'm connecting into a Unix server via SSH and using a Korn Shell (#!/bin/ksh). The Unix server has Oracle 11g installed on it and there are a number of scripts already setup to query the Oracle database to perform... (2 Replies)
Discussion started by: KeithJ
2 Replies

8. UNIX for Beginners Questions & Answers

Change text color from echo command?

I have a bash script that starts and stops a game among other things through in.fifo and out.fifo In game the text comes out gray . Kinda hard to see in game window . I would like to change it to purple and maybe capitalize it. #!/bin/bash #nwservctl.sh cd... (5 Replies)
Discussion started by: 222222quick
5 Replies

9. Shell Programming and Scripting

Send mail with font color change

Hi All, I have a file that contains following entries. I want to highlight the line that has word as "FAILURE" while sending the email. File ------------------------------------------------------------ Job Name: ABC Start Time: 07/20/2019 07:32:39 End Time: 07/20/2019... (4 Replies)
Discussion started by: sdosanjh
4 Replies

10. UNIX for Beginners Questions & Answers

Change text font to greater one in this very good MOTIF texteditor ?

Hi, i have here found a very good texteditor source code programmed in the MOTIF GUI language. For myself i need NOTHING else to program. To start from a very easy point of view i want to RUN this editor on my LINUX machine and type simple C code. The reason for this post is that the text... (7 Replies)
Discussion started by: Sennenmut
7 Replies
HTML::Selector::XPath(3pm)				User Contributed Perl Documentation				HTML::Selector::XPath(3pm)

NAME
HTML::Selector::XPath - CSS Selector to XPath compiler SYNOPSIS
use HTML::Selector::XPath; my $selector = HTML::Selector::XPath->new("li#main"); $selector->to_xpath; # //li[@id='main'] # functional interface use HTML::Selector::XPath 'selector_to_xpath'; my $xpath = selector_to_xpath('div.foo'); my $relative = selector_to_xpath('div.foo', root => '/html/body/p' ); # /html/body/p/div[contains(concat(' ', @class, ' '), ' foo ')] my $relative = selector_to_xpath('div:root', root => '/html/body/p' ); # /html/body/p/div DESCRIPTION
HTML::Selector::XPath is a utility function to compile full set of CSS2 and partial CSS3 selectors to the equivalent XPath expression. FUNCTIONS and METHODS selector_to_xpath $xpath = selector_to_xpath($selector, %options); Shortcut for "HTML::Selector->new(shift)->to_xpath(@_)". Exported upon request. new $sel = HTML::Selector::XPath->new($selector, %options); Creates a new object. to_xpath $xpath = $sel->to_xpath; $xpath = $sel->to_xpath(root => "."); # ./foo instead of //foo Returns the translated XPath expression. You can optionally pass "root" parameter, to specify which root to start the expression. It defaults to "/". The optional "prefix" option allows you to specify a namespace prefix for the generated XPath expression. SUBCLASSING NOTES
parse_pseudo This method is called during xpath construction when we encounter a pseudo selector (something that begins with comma). It is passed the selector and a reference to the string we are parsing. It should return one or more xpath sub-expressions to add to the parts if the selector is handled, otherwise return an empty list. CAVEATS
CSS SELECTOR VALIDATION This module doesn't validate whether the original CSS Selector expression is valid. For example, div.123foo is an invalid CSS selector (class names should not begin with numbers), but this module ignores that and tries to generate an equivalent XPath expression anyway. COPYRIGHT
Tatsuhiko Miyagawa 2006-2011 Max Maischein 2011- AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net> Most of the logic is based on Joe Hewitt's getElementsBySelector.js on http://www.joehewitt.com/blog/2006-03-20.php <http://www.joehewitt.com/blog/2006-03-20.php> and Andrew Dupont's patch to Prototype.js on <http://dev.rubyonrails.org/ticket/5171>, but slightly modified using Aristotle Pegaltzis' CSS to XPath translation table per <http://plasmasturm.org/log/444/> Also see http://www.mail-archive.com/www-archive@w3.org/msg00906.html <http://www.mail-archive.com/www-archive@w3.org/msg00906.html> and http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/ <http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/> LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
http://www.w3.org/TR/REC-CSS2/selector.html <http://www.w3.org/TR/REC-CSS2/selector.html> <http://use.perl.org/~miyagawa/journal/31090> perl v5.14.2 2012-01-16 HTML::Selector::XPath(3pm)
All times are GMT -4. The time now is 08:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy