Sponsored Content
Top Forums Shell Programming and Scripting Print Bold in Shell scripting Post 302960554 by cjcox on Monday 16th of November 2015 06:08:50 PM
Old 11-16-2015
For email, nowadays, if you want it "pretty" you going to send the pretty part as an html encoded block.

Now, that doesn't fix it for shell though.... you might be able to build a filter to translate embedded escapes into something meaningful when printed.

Not much help... but some ideas anyway...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

difference between AIX shell scripting and Unix shell scripting.

please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies

2. Shell Programming and Scripting

Bold characters in c shell

Hi, Can someone tell me how to display characters in Bold in C shell?? (9 Replies)
Discussion started by: hemangi13
9 Replies

3. Shell Programming and Scripting

Bold characters in a file using Shell script

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

4. Shell Programming and Scripting

Call Shell scripting from Perl Scripting.

Hi How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Discussion started by: anupdas
2 Replies

5. Shell Programming and Scripting

Bold 1 word in a shell script

I want to bold one word in shell script. I want the value for num bold when it is inputted. My code does not bold the value. It's like its not even there. echo -n "Please read a number" read num ; echo "${bold} $num ${offbold}" Thank you, Ccccc (6 Replies)
Discussion started by: Ccccc
6 Replies

6. What is on Your Mind?

Shell scripting vs Perl scripting

Hi all, I would like to start developping some good scripting skills. Do you think it would be best to start with shell scripting or Perl? I already got a fundation, really basics, in perl. but I am wondering what would be best to be good at first. Can you please help me determine which one to... (14 Replies)
Discussion started by: Pouchie1
14 Replies

7. What is on Your Mind?

Shell Scripting vs Perl scripting

Gents, I have been working in a Solaris/Unix environment for about 9 months. I took some linux classses online before getting the job. But, I am not very good at scripting. I want to learn how to script. Do you think that I should start with Shell scripting or Perl? I wanted to continue with... (2 Replies)
Discussion started by: Pouchie1
2 Replies

8. Web Development

Perl scripting or shell scripting?

i am going to study any one of the scripting languages mentioned above(shell 0r perl scripting) . Which is having more scope for a fresher? (1 Reply)
Discussion started by: Anna Hussie
1 Replies

9. Shell Programming and Scripting

Color Underline and Bold letter in shell script

Hi All, This is my first port..... I am using AIX 5L, installed 10g database. On daily basis we takes rman backup. This backup status info strored in a log file. I write a script to know the status of back means I will fire this script and this script will send a mail to me. #!/bin/bash... (16 Replies)
Discussion started by: mcagaurav
16 Replies

10. Shell Programming and Scripting

Shell Scripting , need to search and print a line that contains a specific pattern

Take example of below file. abc.txt nas1:/abc/test/test1 /test nas1:/abc/test/test1/test2 /test/abc nas1:/abc/test/ Now i have a variable that contains "nas1:/abc/test/test1" value , so i need to search the above file for this variable and print only this line. ... (14 Replies)
Discussion started by: mohit_vardhani
14 Replies
DIFFPP(1)							      DIFFPP								 DIFFPP(1)

NAME
diffpp - pretty-print diff outputs with GNU enscript SYNOPSIS
diffpp currentfile < diff-file DESCRIPTION
Diffpp converts diff(1)-program's output files to a format suitable to be printed with GNU enscript(1). Program annotates the changes with enscript's special escapes so enscript can highlight the modified portions of the file. All changed and added lines are printed with gray-background, deleted lines are marked with minus (`-') characters; diffpp prints one minus character for each deleted line. EXAMPLES
The easiest way to use diffpp is to use it as an input filter for enscript. If an input filter is specified for enscript it is used to pre-process the incoming data-stream. Filtering does not alter any header strings or file-timestamps which might be printed on enscript headers; only the incoming data is modified. enscript -G2re --filter='rcsdiff %s | diffpp %s' *.c *.h Print the changes between current source files and their latest RCS-versions. enscript -G2re --filter='diff %s~ %s | diffpp %s' *.c *.h Print changes between source files and the corresponding backup-files. SEE ALSO
diff(1), enscript(1) AUTHOR
Markku Rossi <mtr@iki.fi> <http://www.iki.fi/~mtr/> DIFFPP
Jan 29, 1997 DIFFPP(1)
All times are GMT -4. The time now is 11:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy