Search Results

Search: Posts Made By: balajiora
1,816
Posted By balajiora
A-FileName1.txt A-FileName2.txt
A-FileName1.txt
A-FileName2.txt
1,816
Posted By balajiora
Append Text in Result File Name
Hi

Below command is returning the list of files which having this string "MTL_SYSTEM_ITEMS".

find . -name "*"|xargs grep -il MTL_SYSTEM_ITEMS

Ex: Above command is returing 2 files ...
4,928
Posted By balajiora
Thanks for your prompt reply... Above query...
Thanks for your prompt reply...

Above query I am going to execute in a loop. Assume that I am getting five lines of records

1000301, 23343, Sample Error message. some time with full stop...
4,928
Posted By balajiora
Script to cut the first word in Message Text
Hi,

In my shell script, I am connecting to database and querying multiple columns in a table.

MESSAGE_TEXT=`sqlplus -s /nolog <<end_log_stmt
set heading off
set feedback off
set verify off...
4,639
Posted By balajiora
Encrypt TEXT File
Hi,

I need to encrypt the text file, Can anyone help me giving the code snippet.

Thanks in Advance.. Waiting for your reply

Regards
BS
6,953
Posted By balajiora
MSend Details
Hi,

Can anyone please share me the details of MSEND Command. Where can I get complete information.

Waiting for reply. Thanks in Advance

Regards
BS
7,859
Posted By balajiora
Sender email address has to changes
I am sending email with attachment using mail and uuencode command.

Ex:

(echo "$EMAIL_BODY"; uuencode $FILE ATTACH.TXT) || mail "$EMAIL_ID" -s "$EMAIL_SUB"

I am getting email from...
45,825
Posted By balajiora
Thanks for your quick reply... I have fixed the...
Thanks for your quick reply... I have fixed the problem

Here the working code snippet

REQUEST_ID="1234"
X=`echo "$REQUEST_ID" | awk '$0 ~/[^0-9]/ { print "NOT_NUMBER" }'`
echo "Request Id:...
45,825
Posted By balajiora
How to assign this output into variable I...
How to assign this output into variable

I have tried the below option

X=`echo "$REQUEST_ID" | awk '$0 ~/[^0-9]/ { print TRUE }'`

echo $X

its printing empty string.

Regards
BS
45,825
Posted By balajiora
Thanks a lot.. Its working fine...
Thanks a lot..

Its working fine...
45,825
Posted By balajiora
How to Check given string is number in shell script?
Hi,

Can anyone help me out to check whether the input argument is number?

Example:

REQUEST_ID="123456"

I need to check the REQUEST_ID value is number or string.

Thanks in Advance
...
3,729
Posted By balajiora
Thanks for your quick reply. I am not getting any...
Thanks for your quick reply. I am not getting any error here. I need to send an email with multiple attachments.

Finally I have found the solution to send an email with multiple attachment using...
3,729
Posted By balajiora
Sending Email with Attachment
Hi,

I want to send an email with multiple attachment using uuencode and mail command.

I am able to send with one attachment

Ex:uuencode abc.txt abc.txt | mail test@test.com -s "Test3"
...
23,576
Posted By balajiora
I really appreciate your immediate reply. Code...
I really appreciate your immediate reply. Code snippet what you have provided is returning "valid" for wrong email id. Example ab,cd@test.com

Could you please help me to resolve this issue.
...
23,576
Posted By balajiora
EMail Address Validation (Shell Script)
Hi,

Can anyone provide me the code snippet for EMail Address Validation.

User is going to enter the email address in form window. I need to validate the format is correct.

Thanks in...
Showing results 1 to 15 of 15

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