4 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
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
2. UNIX for Dummies Questions & Answers
I have a large * delimited text file and need to highlight specific columns on specific lines. The file looks similar to this:
ABC*01*00*01*00000 000000 *00000 000000 *35*0*0*0*0*20000*0*0*1*0000*00*4*0*3*0*0*1*0* *35*0000*001*4*1OT2*0148*0*0*0*0*0*0*6A7801B0**TEST1... (1 Reply)
Discussion started by: say170
1 Replies
3. UNIX for Dummies Questions & Answers
When I run:
git branch -a
I git a nice green and red colored output, but if I pipe the above command through grep:
git branch -a | grep -v "master"
I lose my colored output. Is there a way around this? (2 Replies)
Discussion started by: blasto333
2 Replies
4. UNIX for Dummies Questions & Answers
So... i cant get it to work.
I had already posted this but it got deleted. Details:
Im running SSH shell on Windows XP, connecting to a server whose term is vt100 (someone asked me that last time)
Im trying to get the syntax highlighting in cc mode to work in color, but its black and... (0 Replies)
Discussion started by: viejid
0 Replies
LEARN ABOUT SUNOS
setcolor
setcolor(1F) FMLI Commands setcolor(1F)
NAME
setcolor - redefine or create a color
SYNOPSIS
setcolor color red_level green_level blue_level
DESCRIPTION
The setcolor command takes four arguments: color, which must be a string naming the color; and the arguments red_level, green_level, and
blue_level, which must be integer values defining, respectively, the intensity of the red, green, and blue components of color. Intensi-
ties must be in the range of 0 to 1000. If you are redefining an existing color, you must use its current name (default color names are:
black, blue, green, cyan, red, magenta, yellow, and white). setcolor returns the color's name string.
EXAMPLES
Example 1: A sample output of setcolor command.
The following is an example of the arguments that setcolor takes:
`setcolor blue 100 24 300`
BUILT-IN FMLI
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
SunOS 5.10 5 Jul 1990 setcolor(1F)