09-19-2008
Hey thanks very much!!
set e="`echo x | tr x
\\033`"
This worked
)
10 More Discussions You Might Find Interesting
1. UNIX and Linux Applications
I sh,
I have bold characters in a file and I want to mail file to an ID.
$cat file
Incorrect or invalid external email IDs in TO and CC list for email_rules:
If I pass this file to mailx
$ cat file | mailx -s "hi" abc@xyz.com
What I get in mail is
(8 Replies)
Discussion started by: hemangi13
8 Replies
2. 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
3. Shell Programming and Scripting
hey guys!!
please tell me ...how can i use shell meta characters like * ,$ <,> etc in command line
in command line arguments literally
please reply soon ..its urgent!!!! (8 Replies)
Discussion started by: tprayush
8 Replies
4. Shell Programming and Scripting
Hi All,
I want to make some characters to be bold in a file.
I have a file e.g aa.log which contains
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
gfgfgdaerqrqwrqerqwrwqwrqrqwrqr
qqwerqwrqwrqwrqwrqwrqwrqwrq
qwrqwrqwrqwrqwrqwrqwrqwrqwr
File is too large to view
Last line... (2 Replies)
Discussion started by: rajeshorpu
2 Replies
5. Shell Programming and Scripting
Hi All,
How to make the characters bold in k shell.
like for example
"File is too large to view" to "File is too large to view"
is it like echo "File is too large to view"
Please advice and samples (18 Replies)
Discussion started by: rajeshorpu
18 Replies
6. UNIX for Dummies Questions & Answers
Hi!
So i've got this shell script that asks questions and the user is required to input answers. The answers typed are bold.
sh-*.*$ sh filename dir
cat question
tput bold
read ans
tput sgr0
... and so on
tput sgr0
exit
So when the script ends i don't get the bold characters... (3 Replies)
Discussion started by: Kingzy
3 Replies
7. Shell Programming and Scripting
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
8. Shell Programming and Scripting
I have printed a character on the screen using a shell script. I want to move that character one space to the left. I have tried moving the cursor to the top left corner of the screen and printing a backspace, like this:
tput cup 1 1;
printf "\b";
The backspace supposedly deletes the... (5 Replies)
Discussion started by: Ultrix
5 Replies
9. 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
10. 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
suspend(1) User Commands suspend(1)
NAME
suspend - shell built-in function to halt the current shell
SYNOPSIS
sh
suspend
csh
suspend
ksh
suspend
DESCRIPTION
sh
Stops the execution of the current shell (but not if it is the login shell).
csh
Stop the shell in its tracks, much as if it had been sent a stop signal with ^Z. This is most often used to stop shells started by su.
ksh
Stops the execution of the current shell (but not if it is the login shell).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
csh(1), kill(1), ksh(1), sh(1), su(1M), attributes(5)
SunOS 5.10 15 Apr 1994 suspend(1)