Sponsored Content
Full Discussion: Using color in scripts
Operating Systems Linux Ubuntu Using color in scripts Post 303033804 by wisecracker on Thursday 11th of April 2019 07:08:41 PM
Old 04-11-2019
I had to change my-hilite to ./my-hilite as I ran both files from my current directory:

My terminal is the default Apple Macbook Pro OSX 10.14.3, a derivative of xterm IIRC.

I called the first file 'Colour_test.sh' and the second 'my-hilite' see attached image.
The code works perfectly.


EDIT:
It's late here.
Goodnight all...
Using color in scripts-colourspng

Last edited by wisecracker; 04-11-2019 at 08:11 PM.. Reason: See EDIT:
 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to change the background color in the init 3 mode(not line color)

Hello, I am using RHEL 6.1 on VMware I am searching for a way to change background color (not line by line color wich one can using tput command) basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
Discussion started by: Dexobox
2 Replies

2. UNIX for Beginners Questions & Answers

Text color in Linux scripts via putty

hi Folks, Can anyone help with changing the color of the words in a linux shell script? I get how to change default background etc in putty, but for some reason the text in the script has different colors for different parts of the cript. Is there a way to have one color in a linux shell... (5 Replies)
Discussion started by: jonnyd
5 Replies
CCZE-CSSDUMP(1) 						       CCZE							   CCZE-CSSDUMP(1)

NAME
ccze-cssdump - Dump CCZE color setup into CSS format SYNOPSIS
ccze-cssdump [options] DESCRIPTION
This manual page documents briefly the ccze-cssdump utility, which is a simple tool to dump the color setup of CCZE into Cascading Style Sheet format, to be used later by ccze -h -o cssfile. OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -F, --rcfile rcfile Read rcfile as a configuration file upon startup. -l, --load Load the default configuration files upon startup. --help Show summary of options and exit. -V, --version Show version of program. FILES
/etc/colorizerc, $HOME/.colorizerc These files are the default configuration files for colorize, and are parsed by ccze for the sake of full compatibility. /etc/cczerc, $HOME/.cczerc This two are the main configuration files, in which one can change the colors used by the program to his liking. See the comments in the beginning of /etc/cczerc for a description on the files' structure. SEE ALSO
ccze(1) AUTHOR
ccze was written by Gergely Nagy <algernon@bonehunter.rulez.org>, based on colorize by Istvan Karaszi <colorize@spam.raszi.hu>. CCZE 0.2.1 2003-01-13 CCZE-CSSDUMP(1)
All times are GMT -4. The time now is 06:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy