Search Results

Search: Posts Made By: Kartheg
7,631
Posted By Kartheg
Prompting for Input - Getting Undefined Variable
#!/bin/csh -f

echo "Enter MEUPS User Id :-"
read UID
echo "You entered $UID"
---------------------------------------

Whn executed, I get an error message "UID: Undefined variable"
30,047
Posted By Kartheg
Autosys Database
That would mean creating hundreds of jobs.

We do have a script that doesn't access Autosys Database but I don't use it cause it is a nuisance. I have to find where it is located.

I don't see...
5,321
Posted By Kartheg
Yes it works
Yes, works perfect now.

Thanks very much.

Kartheg.
5,321
Posted By Kartheg
Yes I am using the same TO e-mail. I cut and...
Yes I am using the same TO e-mail. I cut and pasted in Unix prompt.

The e-mail I recieved has blanks in the TO & Subject fields when I ran the script. From the UNiX prompt is perfect.

Yes...
5,321
Posted By Kartheg
Mail Attachment : What am I doing wrong ?
Ok, I have read so many threads here but still can't figure out what I am doing wrong.

When I type the following on the Unix prompt it works perfectly fine.

uuencode attach.txt attach..html |...
30,047
Posted By Kartheg
Autosys Notification
Autosys Information is stored in an Oracle database. You will need to get read access, then use SQL Plus or any similar software and view the data. Just get familiar with the tables and see whats...
30,047
Posted By Kartheg
Write a script to e-mail
I have written a script to send the e-mails. To make it work you will need some understanding of the Autosys Database.

You also need read access to Autosys Database.

Kartheg.

I have the...
Forum: Programming 11-03-2006
1,988
Posted By Kartheg
How to e-mail from C program ?
This works fine when typed at the Unix prompt.

echo "This is body" | mail -s "This is subject" "id@domain.com")


But this does not put the Subject Line in the e-mail.

int MainProcess()
{
...
52,433
Posted By Kartheg
Yes, That works ! Thank you ashterix &...
Yes, That works !

Thank you ashterix & dangral for your help.
52,433
Posted By Kartheg
I get the following :- cp:cannot access grep...
I get the following :-

cp:cannot access grep -l string *
52,433
Posted By Kartheg
Copying file names returned from a grep command into another directory
When I do the following :

grep -l "string" *,

I get a list of file names returned. Is there a way to copy the files returned from the list into another directory ?.

Thanks.
66,524
Posted By Kartheg
Testing Jims Command.
To test Jims command this is what I did.

File 1: Created with "char1"
File 2: Created with "char2"
File 3: Created with "char1" & "char2" on the same line.
File 4: Created with "char1" &...
66,524
Posted By Kartheg
R u saying string1 & string2 should exist on the...
R u saying string1 & string2 should exist on the same line to get a hit ?. In my case string1 & string2 are on different lines. I only tried the first example.

Kartheg.
66,524
Posted By Kartheg
Jim Mcnamara I tried your command but it...
Jim Mcnamara

I tried your command but it works like the "OR" command. I got hits with either one match.

When I get a hit on a file, I need to see string1 & string2 contain in that file.
...
66,524
Posted By Kartheg
How do I search for 2 strings (AND operator) ?
I have a need to search for files containing 2 strings as in (AND operator). No one at my site seems to know if it is possible. There is only documentation for the "or' operator.

I know I can...
Showing results 1 to 15 of 15

 
All times are GMT -4. The time now is 04:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy