Search Results

Search: Posts Made By: Alex_Smith
1,513
Posted By Alex_Smith
Difference Between 2 files in UNIX
Hi,

I am having files in the below format

$ cat a.txt
1, abc, 1234
2, bcd, 2345

$ cat b.txt
1, bcd, 2345
2, cde, 3456

and I want to display only what is not exists in a.txt through...
1,037
Posted By Alex_Smith
Thank you for your reply. Imagine if the...
Thank you for your reply.

Imagine if the file size is different but there may be chance that any of the record I may received from previous file.
1,037
Posted By Alex_Smith
Working on Files
Hi,

One of the program creating a file with the following information.

$cat a.txt
1, AAA, 234
$

and I wrote a script whenever any of the the file exists with data then it will send a email...
3,722
Posted By Alex_Smith
I am getting the below erorr message : - ...
I am getting the below erorr message : -

Code : -
uuencode myFile.CSV myFile.CSV mailx -m -s "Hi" myid@doma.com

Error: -
mailx: invalid option -- m
Usage: mail [-iInv] [-s subject] [-c...
3,722
Posted By Alex_Smith
When I execute the script I am getting *.CSV and...
When I execute the script I am getting *.CSV and also att*.txt files (att*.txt --> when there is no subject in mailx, if "Hi" is the subject then Hi.txt) attached and coming to my inbox.

I am not...
3,722
Posted By Alex_Smith
Hi Ravi, I tried without subject line, this...
Hi Ravi,

I tried without subject line, this time I got ATT00063.txt along with myFile.CSV.

the ATT00063.txt file contains the same junc data.

`
end

Code : -


(echo "Hi , This is a...
3,722
Posted By Alex_Smith
Hi Ravi, Yes..Even after changing the code...
Hi Ravi,

Yes..Even after changing the code also I am getting the Hi.txt file.

(echo "Subject : Hi"
echo "Hi , This is a test mail"
uuencode myFile.CSV myFile.CSV) | /usr/sbin/sendmail...
3,722
Posted By Alex_Smith
Thank you for your reply. I am still having...
Thank you for your reply.

I am still having the same problem. Please adive.

$ uname -a
Linux CORNERSTONE 2.6.18-128.1.14.el5 #1 SMP Mon Jun 1 15:52:58 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
3,722
Posted By Alex_Smith
The Hi.txt file contains below data : - ` ...
The Hi.txt file contains below data : -

`
end

and *.CSV file data is also readable which is generated throgh informatica.
3,722
Posted By Alex_Smith
Hi, Thank you for your reply. I am...
Hi,

Thank you for your reply.

I am still getting the junk data.

Please advice.
3,722
Posted By Alex_Smith
Problem with uuencode
Hi,

I am trying to send an attachment through UNIX to the mail box. But along with the attachments I am also receiving junk data as a text file, Suppose "Hi" is the subject of the mailx command...
1,324
Posted By Alex_Smith
How to check the file size and content of the file
Hi,

I have a text file in the below format.

$cat my_paramater_file.txt
'
[FOLDER_NAME.WF:wf_my_workflow.ST:S_my_session]
$$ETL_EXTRACT_DATE=07/17/2011 17:55:05.000000
'
$
Would like to...
Showing results 1 to 12 of 12

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