09-08-2006
Changing font and color in log file of Script
Hi,
We have process log with user defined error messages and information echos. I wanted to highlight error messgaes in that log file while writing in it. Is there any option with either echo or any other command which enables making text bold or we can change the font of body text of echo.
Any help is appreciated.
Satish
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I'm trying to figure out how to change the font or color of output in the middle of a shell script. I can't find anything that tells me how to do that. Any ideas? (1 Reply)
Discussion started by: MDyer18
1 Replies
2. Shell Programming and Scripting
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
3. UNIX for Dummies Questions & Answers
Hi Gurus,
I have a small requirement where i want to change the color & font of some text in a file.
i have a file error.txt which will be created in the script using egrep.
After that iam adding these lines at head & tail to that file using the following code
awk 'BEGIN{print"Please... (4 Replies)
Discussion started by: pssandeep
4 Replies
4. Shell Programming and Scripting
Hi,
I am new to shell script. Can you please tell me, whether can we specify font type and color in a shell script? If so, how to do this?
Thanks in advance. (4 Replies)
Discussion started by: Vani_Govind
4 Replies
5. Programming
I'm writing my own Unix ls command in c and I was wondering if anyone knows how to or can point me to a tutorial that shows me how to change the text color of the filename depending on if it's a directory, regular file, linked file, etc..., like the real ls command does? Thanks. (4 Replies)
Discussion started by: snag49ers
4 Replies
6. Shell Programming and Scripting
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
7. Shell Programming and Scripting
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
8. UNIX for Advanced & Expert Users
I want to differentiate the STDOUT and STDERR messages in my terminal .
If a script or command is printing a message in terminal I want to differentiate by colors,
Is it possible ?
Example:
$date
Wed Jul 27 12:36:50 IST 2011
$datee
bash: datee: command not found
$alias ls
alias... (2 Replies)
Discussion started by: ungalnanban
2 Replies
9. Shell Programming and Scripting
I created a very very basic script that opens multiple konsole terminals when I run the script which essentially sshs into a jump box into the end device and tails some logs etc etc. A few of the konsoles run scripts where the default font size is too big and the lines are cut off. Which I would... (3 Replies)
Discussion started by: NiCe
3 Replies
10. Shell Programming and Scripting
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
LEARN ABOUT DEBIAN
ncursesw5-config
ncursesw5-config(1) General Commands Manual ncursesw5-config(1)
NAME
ncursesw5-config - helper script for ncurses libraries
SYNOPSIS
ncursesw5-config [options]
DESCRIPTION
This is a shell script which simplifies configuring applications against a particular set of ncurses libraries.
OPTIONS
--prefix
echos the package-prefix of ncurses
--exec-prefix
echos the executable-prefix of ncurses
--cflags
echos the C compiler flags needed to compile with ncurses
--libs echos the libraries needed to link with ncurses
--version
echos the release+patchdate version of ncurses
--abi-version
echos the ABI version of ncurses
--mouse-version
echos the mouse-interface version of ncurses
--bindir
echos the directory containing ncurses programs
--datadir
echos the directory containing ncurses data
--includedir
echos the directory containing ncurses header files
--libdir
echos the directory containing ncurses libraries
--mandir
echos the directory containing ncurses manpages
--terminfo
echos the $TERMINFO terminfo database path, e.g.,
/etc/terminfo
--terminfo-dirs
echos the $TERMINFO_DIRS directory list, e.g.,
/etc/terminfo:/lib/terminfo:/usr/share/terminfo
--termpath
echos the $TERMPATH termcap list, if support for termcap is configured.
--help prints this message
SEE ALSO
curses(3X)
This describes ncurses version 5.9 (patch 20110404).
ncursesw5-config(1)