Sponsored Content
Full Discussion: color print using perl
Top Forums Shell Programming and Scripting color print using perl Post 302603406 by balajesuri on Thursday 1st of March 2012 01:43:13 AM
Old 03-01-2012
That's not the way a text editor (vi or emacs) works or may be I'm not aware.

1. Ok, tell me this: if you want you want to manually change the formatting codes (say, change colour from blue to green) by yourself instead of a perl program doing it, how will you achieve this task?
2. Why do you need to see coloured text in an editor? Rather, you could familiarise yourself with the formatting codes.
3. What is the exact requirement?
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Print in color

I have a short code below: awk 'NR==1 {printf "'$information'-MYDATA-'$information' \n"} {print $0}' data.file > newdata.file I want the "information" color in RED and MYDATA in BLUE. How can I do it? Please help!!!! (3 Replies)
Discussion started by: bobo
3 Replies

2. Shell Programming and Scripting

how to get the Format header in perl in different color

Now here is the problem how to get the Format header in perl in different color. format RPT_TOP= DINISO EXECUTION REPORT @<<<<<<<<<<<<< AGAINST SEOPACTUAL Page : @>>> $TODAY,$%... (3 Replies)
Discussion started by: rrd1986
3 Replies

3. Shell Programming and Scripting

creating color palette using awk or perl

Hi, I'm wondering if anyone have tried creating a color palette or table using awk or perl using a range of values. thanks for any suggestion in advance. 0-0.1: purple 0.1-0.2: blue 0.2-0.3: green 0.3-0.4: yellow 0.4-0.5: orange > 0.5: red Happy holidays,:) (5 Replies)
Discussion started by: ida1215
5 Replies

4. AIX

How to print color text in AIX?

Hi I'd like to print color text and I've tried this: echo "\033but it didn't woked. When I changed 0 --> 1/4/5, the text "HI" --> bold/underline/blink, but when I changed 31 or 33 to other values, the color didn't change. What's the problem. Need to install something ??? (8 Replies)
Discussion started by: bobochacha29
8 Replies
LDBEDIT(1)						    System Administration tools 						LDBEDIT(1)

NAME
ldbedit - Edit LDB databases using your preferred editor SYNOPSIS
ldbedit [-?] [--usage] [-s base|one|sub] [-b basedn] [-a] [-e editor] [-H LDB-URL] [expression] [attributes...] DESCRIPTION
ldbedit is a utility that allows you to edit LDB entries (in tdb files, sqlite files or LDAP servers) using your preferred editor. ldbedit generates an LDIF file based on your query, allows you to edit the LDIF, and then merges that LDIF back into the LDB backend. OPTIONS
-?, --help Show list of available options, and a phrase describing what that option does. --usage Show list of available options. This is similar to the help option, however it does not provide any description, and is hence shorter. -H <ldb-url> LDB URL to connect to. For a tdb database, this will be of the form tdb://filename. For a LDAP connection over unix domain sockets, this will be of the form ldapi://socket. For a (potentially remote) LDAP connection over TCP, this will be of the form ldap://hostname. For an SQLite database, this will be of the form sqlite://filename. -s one|sub|base Search scope to use. One-level, subtree or base. -a, -all Edit all records. This allows you to apply the same change to a number of records at once. You probably want to combine this with an expression of the form "objectclass=*". -e editor, --editor editor Specify the editor that should be used (overrides the VISUAL and EDITOR environment variables). If this option is not used, and neither VISUAL nor EDITOR environment variables are set, then the vi editor will be used. -b basedn Specify Base Distinguished Name to use. -v, --verbose Make ldbedit more verbose about the operations that are being performed. Without this option, ldbedit will only provide a summary change line. ENVIRONMENT
LDB_URL LDB URL to connect to. This can be overridden by using the -H command-line option.) VISUAL and EDITOR Environment variables used to determine what editor to use. VISUAL takes precedence over EDITOR, and both are overridden by the -e command-line option. VERSION
This man page is correct for version 1.1 of LDB. SEE ALSO
ldb(3), ldbmodify(1), ldbdel(1), ldif(5), vi(1) AUTHOR
ldb was written by Andrew Tridgell[1]. If you wish to report a problem or make a suggestion then please see the http://ldb.samba.org/ web site for current contact and maintainer information. This manpage was written by Jelmer Vernooij and updated by Brad Hards. NOTES
1. Andrew Tridgell http://samba.org/~tridge/ LDB 1.1 06/17/2014 LDBEDIT(1)
All times are GMT -4. The time now is 02:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy