hi I want to write a script, while using the SED editor, to output the text, in this case a variable, to the result file but highlighted it in bold, is it possible to do that? can you tell me how?
eg. in text.txt
so it will add the variable after the last line in the text.txt file, but preferably in bold
Thanks
Robert
Last edited by Franklin52; 07-17-2012 at 09:42 AM..
Reason: Please use code tags for data and code samples, thank you
Hello,
On the linux box I use at work, the directories are bold type to distinguish them.
Is there a way to make certain words in a text file bold?
Thanks! (4 Replies)
Hi,
I work with AIX 5 and have two basic questions:
1) How do I underline/bold a word in a text output? Any way to do it with echo command?
basic example: echo "FOLDER " >> folder.txt ( I wish the word FOLDER to be underlined and bold).
2) Suppose I have the following pipe delimited... (1 Reply)
hello,
how do i display the text in the printf statement in bold.
or is there anyway to display the text on the console in bold
thx in advance
svh (3 Replies)
how to make a line BLINKING in output and also how to increase font size in output
suppose in run a.sh script
inside echo "hello world "
i want that this should blink in the output and also
the font size of hello world should be big ..
could you please help me out in this (3 Replies)
Hello,
I email some info daily to my employees using a script. But they tend to overlook an important part so I wanted to bold that particular section. Everyone here uses outlook to receive their emails. I would like to know how to send an email to my employees with some parts in bold. (3 Replies)
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)
Heya
There is a script which has presets stored in a tab-seperated file.
That script also has $help_text, which will be shown when called with invalid arguments or -h.
So i do need to have that file ready, so the help text can get the values out of the file, and print it with the $help_text.... (17 Replies)
Hi guys,
i am not able to work this out, i need to write a script to monitor the usage of IO DISK READ whenever the IO is above 600MB it will send an email.
So far not able to. Hope you guys can assist me. Thanks!
# iotop -bot --iter=3 |grep DISK|egrep -v TIME
05:22:04 Total DISK READ : ... (8 Replies)
FYI,
I'm slowly removing a lot of the bold font-styles from titles of discussions, forum titles, etc
I'm not removing bold for the entire site because we do need bold from time to time, especially in posts and sometimes in other places.
However, the original forum style had way too much... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT PHP
printer_create_font
PRINTER_CREATE_FONT(3) 1 PRINTER_CREATE_FONT(3)printer_create_font - Create a new fontSYNOPSIS
resource printer_create_font (string $face, int $height, int $width, int $font_weight, bool $italic, bool $underline, bool $strike-
out, int $orientation)
DESCRIPTION
The function creates a new font and returns a handle to it. A font is used to draw text. For an example see printer_select_font(3).
PARAMETERS
o $face
-$face must be a string specifying the font face.
o $height
-$height specifies the font height.
o $width
-$width specifies the font width.
o $font_weight
- The $font_weight specifies the font weight (400 is normal), and can be one of the following predefined constants.
o PRINTER_FW_THIN: sets the font weight to thin (100).
o PRINTER_FW_ULTRALIGHT: sets the font weight to ultra light (200).
o PRINTER_FW_LIGHT: sets the font weight to light (300).
o PRINTER_FW_NORMAL: sets the font weight to normal (400).
o PRINTER_FW_MEDIUM: sets the font weight to medium (500).
o PRINTER_FW_BOLD: sets the font weight to bold (700).
o PRINTER_FW_ULTRABOLD: sets the font weight to ultra bold (800).
o PRINTER_FW_HEAVY: sets the font weight to heavy (900).
o $italic
-$italic can be TRUE or FALSE, and sets whether the font should be italic.
o $underline
-$underline can be TRUE or FALSE, and sets whether the font should be underlined.
o $strikeout
-$strikeout can be TRUE or FALSE, and sets whether the font should be stroked out.
o $orientaton
-$orientation specifies a rotation.
RETURN VALUES
Returns a font handle on success or FALSE on error.
PHP Documentation Group PRINTER_CREATE_FONT(3)