10-20-2009
Making Some Characters in file BOLD
Hi All,
I want to make some characters to be bold in a file.
I have a file e.g aa.log which contains
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
gfgfgdaerqrqwrqerqwrwqwrqrqwrqr
qqwerqwrqwrqwrqwrqwrqwrqwrq
qwrqwrqwrqwrqwrqwrqwrqwrqwr
File is too large to view
Last line characters i want to make bold. Like below
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
gfgfgdaerqrqwrqerqwrwqwrqrqwrqr
qqwerqwrqwrqwrqwrqwrqwrqwrq
qwrqwrqwrqwrqwrqwrqwrqwrqwr
File is too large to view
i am using k shell.
Please tell me some examples or source code.
Thanks
Rajesh
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
can anyone help to write data into a text file in bold format and rollback to actual format.
Thanks,
Regards,
Milton Y. (1 Reply)
Discussion started by: miltony
1 Replies
2. Shell Programming and Scripting
Hi,
Can someone tell me how to display characters in Bold in C shell?? (9 Replies)
Discussion started by: hemangi13
9 Replies
3. UNIX and Linux Applications
I sh,
I have bold characters in a file and I want to mail file to an ID.
$cat file
Incorrect or invalid external email IDs in TO and CC list for email_rules:
If I pass this file to mailx
$ cat file | mailx -s "hi" abc@xyz.com
What I get in mail is
(8 Replies)
Discussion started by: hemangi13
8 Replies
4. Shell Programming and Scripting
Hi,
When I am running below mentioned script then the characters become bold but after opening the same file in Windows, Instead of getting bold characters i am getting some garbage value for \033Kunal Dixit
Output in Windows (after ftp the file):
but in windows , i am getting
My name is... (0 Replies)
Discussion started by: kunal_dixit
0 Replies
5. Shell Programming and Scripting
Hi All,
How to make the characters bold in k shell.
like for example
"File is too large to view" to "File is too large to view"
is it like echo "File is too large to view"
Please advice and samples (18 Replies)
Discussion started by: rajeshorpu
18 Replies
6. UNIX for Dummies Questions & Answers
Hi!
So i've got this shell script that asks questions and the user is required to input answers. The answers typed are bold.
sh-*.*$ sh filename dir
cat question
tput bold
read ans
tput sgr0
... and so on
tput sgr0
exit
So when the script ends i don't get the bold characters... (3 Replies)
Discussion started by: Kingzy
3 Replies
7. Shell Programming and Scripting
hello, I'm trying to write the fastest sed command possible (large files will be processed) to replace RICH with NICK in a file which looks like this (below) if the occurance of RICH is uppercase, replace with uppercase if it's lowercase, replace with lowercase
SOMTHING_RICH_SOMTHING <- replace... (10 Replies)
Discussion started by: rich@ardz
10 Replies
8. Shell Programming and Scripting
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)
Discussion started by: praveen.munna
3 Replies
9. UNIX for Dummies Questions & Answers
Ok, so let's say that I have a file like the following:
I want to create 100 replicates of this file, except that for each file, I want different randomized combinations of either A or B at the end of each line so that I would end up with files like the following:
and
etc.
I... (1 Reply)
Discussion started by: Scatterbrain26
1 Replies
10. Shell Programming and Scripting
Hi ,
Could you please guide me how to remove formatting (bold text) in a unix file?
vi editor showing like this...
^
Cat command showing like this...
tl21ss01
tl21ss02
tl21ss03 (6 Replies)
Discussion started by: suresh3566
6 Replies
LEARN ABOUT DEBIAN
cmatrix
CMatrix(1) General Commands Manual CMatrix(1)
NAME
CMatrix - simulates the display from "The Matrix"
SYNOPSIS
cmatrix [-abBflohnsVx] [-u update] [-C color]
DESCRIPTION
Shows a scrolling 'Matrix' like screen in Linux
OPTIONS
-a Asynchronous scroll
-b Bold characters on
-B All bold characters (overrides -b)
-f Force the linux $TERM type to be on
-l Linux mode (sets "matrix.fnt" font in console)
-o Use old-style scrolling
-h, -? Print usage and exit
-n No bold characters (overrides -b and -B)
-s "Screensaver" mode, exits on first keystroke
-x X window mode, use if your xterm is using mtx.pcf
-V Print version information and exit
-u delay
Screen update delay 0 - 9, default 4
-C color
Use this color for matrix (default green). Valid colors are green, red, blue, white, yellow, cyan, magenta and black.
KEYSTROKES
The following keystrokes are available during execution (unavailable in -s mode)
a Toggle asynchronous scroll
b Random bold characters
B All bold characters
n Turn off bold characters
0-9 Adjust update speed
! @ # $ % ^ & )
Change the color of the matrix to the corresponding color: ! - red, @ - green, # - yellow, $ - blue, % - magenta, ^ - cyan, & -
white, ) - black.
q Quit the program
BUGS
This program is very CPU intensive. Don't be surprised if it eats up over 40% of your CPU at times.
HOMEPAGE
The CMatrix homepage is currently at http://www.asty.org/cmatrix.
AUTHORS
Chris Allegretta (chrisa@asty.org), with a lot of help from many other people. See README file for details.
Mon May 3 1999 CMatrix(1)