10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
I came across a scenario where I have to check the starting character of line in a file.
if it is a specile character i.e. "<" gretaer then perform action.
I tried serval ways but could not get the work done.
Please help me ....
Thanks (6 Replies)
Discussion started by: ravi111_07
6 Replies
2. Shell Programming and Scripting
Hello all, I'm writing an expect script that will connect to an IMAP server and issue IMAP commands. The problem is that some of the text I need to send includes "quotes" and also !@#$%^&* special characters.
For example, my password is VFR$5tgb but I cannot "send" this because Expect doesn't... (2 Replies)
Discussion started by: lupin..the..3rd
2 Replies
3. Shell Programming and Scripting
Hi
I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email.
For example
-------
Script ABC
-------
a.ksh
b.ksh
c.ksh
I need to call all three scripts execute them and... (2 Replies)
Discussion started by: pacifican
2 Replies
4. Linux
hi
we need to be able to run a script to delete fonts from our production server.
It needs to be able to scan a set of volumes and check the file type then if it detects a font remove it.
Server is a IBM 3850 running Red Hat Enterprise 4 update 5
the san attached raid where the data is stored... (1 Reply)
Discussion started by: treds
1 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I want to change the font and colour while writing them to a .rtf file using a shell script.
How can i do this?
Thanks & Regards
Dilip (1 Reply)
Discussion started by: DilipPanda
1 Replies
6. Shell Programming and Scripting
Ih all,
i have multiples ksh scripts for crontab's unix jobs
they all have same variables declarations and some similar functions
i would have a only single script file to declare my variables, like:
var1= "aaa"
var2= "bbb"
var3= "ccc"
...
function ab { ...}
function bc { ... }... (2 Replies)
Discussion started by: wolfhurt
2 Replies
7. Shell Programming and Scripting
I normally trace a script with the ksh -x <script name> and redirect strderr to file. But if you have a script like the examble below......
vi hairy
bear=`grep bear animals`
if
then
ksh more_animals
fi
If I ksh -x hairy it won't trace "more_animals" unless I put a -x in it. Is... (1 Reply)
Discussion started by: shorty
1 Replies
8. Shell Programming and Scripting
Hi All,
In my shell script, i'm checking the date input against few constraints. It should be of YYYYMMDD format and the script should prompt the user with error message, if less than 8 digits are present or input contains special characters (*,&,%,^,$ ...etc). The script i'm using is given... (7 Replies)
Discussion started by: sumesh.abraham
7 Replies
9. Shell Programming and Scripting
Hi,
I'm new to unix scripting.How can i call a script from another script.
I have a.ksh and b.ksh .I have to call b.ksh from a.ksh after it is successfully exceuted.
I tried using
#!/bin/ksh -x in a.ksh and at the end i have used /path/b.ksh
My problem is it is executing only a.ksh.it... (6 Replies)
Discussion started by: ammu
6 Replies
10. UNIX for Dummies Questions & Answers
How do I transfert data after connection to a ftp.server?
Thanks for your help. (4 Replies)
Discussion started by: m.seidenberg
4 Replies