10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am printing the following and sending it in an email in a bash script.
echo "#RESULTS FOR `date +%c`#" >> File1.txt
My desired output is to print it in bold:
#RESULTS FOR Mon 16 Nov 2015 03:54:20 PM CST#
Is there a way I can have it printed in bold which sends output in a mail. Please... (5 Replies)
Discussion started by: ronitreddy
5 Replies
2. Shell Programming and Scripting
Hi All,
I have a XML file which is looks like as below. <<please see the attachment >>
<?xml version="1.0" encoding="UTF-8"?>
<esites>
<esite>
<name>XXX.com</name>
<storeId>10001</storeId>
<module>
... (4 Replies)
Discussion started by: Rajeev_hbk
4 Replies
3. Shell Programming and Scripting
I have a file input.txt which have loads of weird characters, html tags and useful materials. I want to display 35 characters after the word "description" excluding weird characters like $&lmp and without html tags in the new file output.txt. Help me. Thanx in advance. I have attached the input... (4 Replies)
Discussion started by: sachit adhikari
4 Replies
4. Shell Programming and Scripting
I have a file input.txt which have loads of weird characters, html tags and useful materials. I want to display 35 characters after the word description excluding weird characters like $$#$#@$#@***$# and without html tags in the new file output.txt. Help me. Thanx in advance.
My final goal is to... (11 Replies)
Discussion started by: sachit adhikari
11 Replies
5. Shell Programming and Scripting
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
6. Shell Programming and Scripting
I have a shell script which I made with the help of this forum
#!/bin/sh
RuleNum=$1
cat bw_rules | sed 's/^.*-x //' | awk -v var=$RuleNum '$1==var {for(i=1;i<=NF;i++) {if($i=="-bwout") print $(i+3),$(i+1)}}'
Basically I have a pages after pages of bandwidth rules and the script gives... (0 Replies)
Discussion started by: sb245
0 Replies
7. Shell Programming and Scripting
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
8. Shell Programming and Scripting
Hi,
Can someone tell me how to display characters in Bold in C shell?? (9 Replies)
Discussion started by: hemangi13
9 Replies
9. Shell Programming and Scripting
I hv script that will output a txt file report , the report content is as below, I would like the word "No error" is bolded so that this message is highlighted , can advise what can i do ? thx
Date : 2002-01-22
Error : No error (3 Replies)
Discussion started by: ust
3 Replies
10. Shell Programming and Scripting
Greetings.
I am struggling with a shell script to make my life simpler, with a number of practical ways in which it could be used. I want to take a standard text file, and pull the 'n'th word from each line such as the first word from a text file.
I'm struggling to see how each line can be... (5 Replies)
Discussion started by: tricky
5 Replies