Are you using ctrl+[, or just typing ^[ ?
Also, your terminal or the viewing program may be to blame.
I was able to recreate this:
ls --color=always > file
vi file results in:
While cat file will show it in color.
By the way, this is on a Linux system, with GNU ls, using a color xterm emulator.
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)
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)
Dear all-
I have a requirement to send an email via email with body content which looks something below-
Email body contents
--------------------
RequestType: Update
DateAcctOpened: 1/5/2010
Note that header information and data content should be normal text..
Please advice on... (5 Replies)
Hi everyone, is there any way in perl using which we can print the selective words in bold when we write the output to a csv file?
Please find the example below
1. Filename: A
2. name age 12
3. city add 23
Line1 should only be bold. Outputs from other files being read in the... (2 Replies)
Hi Guys,
This is my first query here. I hope you could help.
I have a file as below
a 1 2 3 4
b 4 5 6
...
I need to print the first column of this in bold.
a 1 2 3 4
b 4 5 6
Is it possible, if so, could you please let me know how to do that?
I require this because I... (3 Replies)
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
sed '$ a\
'$variable'
' <text.txt >text2.txt
so it will add the... (2 Replies)
I have a sample script here I want to bold the word BOLD in the text and send through email. Tried several ways but not seems to working.
BODY="Hello. I want to BOLD this"
{
echo "From: from@gmail.com"
echo "To: to@gmail.com"
echo "Subject: Texting"
... (1 Reply)
Discussion started by: lpoolfc
1 Replies
LEARN ABOUT MOJAVE
pod::text::overstrike5.18
Pod::Text::Overstrike(3pm) Perl Programmers Reference Guide Pod::Text::Overstrike(3pm)NAME
Pod::Text::Overstrike - Convert POD data to formatted overstrike text
SYNOPSIS
use Pod::Text::Overstrike;
my $parser = Pod::Text::Overstrike->new (sentence => 0, width => 78);
# Read POD from STDIN and write to STDOUT.
$parser->parse_from_filehandle;
# Read POD from file.pod and write to file.txt.
$parser->parse_from_file ('file.pod', 'file.txt');
DESCRIPTION
Pod::Text::Overstrike is a simple subclass of Pod::Text that highlights output text using overstrike sequences, in a manner similar to
nroff. Characters in bold text are overstruck (character, backspace, character) and characters in underlined text are converted to
overstruck underscores (underscore, backspace, character). This format was originally designed for hard-copy terminals and/or line
printers, yet is readable on soft-copy (CRT) terminals.
Overstruck text is best viewed by page-at-a-time programs that take advantage of the terminal's stand-out and underline capabilities, such
as the less program on Unix.
Apart from the overstrike, it in all ways functions like Pod::Text. See Pod::Text for details and available options.
BUGS
Currently, the outermost formatting instruction wins, so for example underlined text inside a region of bold text is displayed as simply
bold. There may be some better approach possible.
SEE ALSO
Pod::Text, Pod::Simple
The current version of this module is always available from its web site at <http://www.eyrie.org/~eagle/software/podlators/>. It is also
part of the Perl core distribution as of 5.6.0.
AUTHOR
Joe Smith <Joe.Smith@inwap.com>, using the framework created by Russ Allbery <rra@stanford.edu>.
COPYRIGHT AND LICENSE
Copyright 2000 by Joe Smith <Joe.Smith@inwap.com>. Copyright 2001, 2004, 2008 by Russ Allbery <rra@stanford.edu>.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
perl v5.18.2 2013-11-04 Pod::Text::Overstrike(3pm)