Search Results

Search: Posts Made By: arunkesi
2,039
Posted By arunkesi
Any Inputs
Any Inputs
2,039
Posted By arunkesi
we dont have the option for -a on on the...
we dont have the option for -a on on the platforms in the man for mailx.

Do we have any workaround to send multiples files in a directorty :

I have tried below but it doesnt attach files

(...
2,039
Posted By arunkesi
Sending Multipes files as attachents in directory
When i run the below command in Unix it works

echo|mailx -s "Subject" $( printf -- '-a %q ' /Directory/*.* ) mail_address < /directory/mail_body.txt


But when the same command is run in AIX...
2,862
Posted By arunkesi
Hi...thanks for your inputs but seem to be...
Hi...thanks for your inputs but seem to be getting an awk field error when the pattern matches...
2,862
Posted By arunkesi
Input <Subject Q="I" W="1039502"...
Input
<Subject Q="I" W="1039502" E="2015-06-30" R="010101010101">

Output
<Subject R="010101010101" W="1039502" E="2015-06-30" Q="I">

Code
awk '/subject/ {sub(/>/,"",$NF); print...
2,862
Posted By arunkesi
I have used below but I am only getting the...
I have used below but I am only getting the records which match the pattern and the other lines which dont match pattern are omitted
awk '/subject/ {sub(/>/,"",$NF); print $1,$5,$3,$4,$2">"; next}...
2,862
Posted By arunkesi
Thanks Zaxxon, I would want to change only the...
Thanks Zaxxon, I would want to change only the lines which start with <Subject and all the other lines should be retained as in the original file
2,862
Posted By arunkesi
Pattern Match and Rearrange the Fields in UNIX
For an Output like below

Input : <Subject A="I" B="1039502" C="2015-06-30" D="010101010101">

Output : <Subject D="010101010101" B="1039502" C="2015-06-30" A="I">

I have been using...
1,734
Posted By arunkesi
Copy Directories with Files from One Server to Other using sftp
Hi,
I have a requirement where I have to connect to another server and copy directories from one server to another

Directories on the Source server look like below (YYYY-MM-DD- 1 to 23)
...
5,981
Posted By arunkesi
Copying Directories from one server to another
Hi,
I have a requirement where I have to connect to another server and copy directories from one server to another

Directories on the Source server look like below (YYYY-MM-DD- 1 to 23)...
2,417
Posted By arunkesi
Hi, I have executed the command on the file,...
Hi,
I have executed the command on the file, but when i count the delimiters i still get 138 and 139.Earlier it ised to be 137 and 139.

Ideally I should be getting one sinle value of the...
2,417
Posted By arunkesi
Hi, Thanks for the reply.. I have...
Hi,

Thanks for the reply..

I have tried that but it isn't working.

My requirement is certain records in my file have 139 columns and few others 137. For all the records which have 137...
2,417
Posted By arunkesi
Insert Columns before the last Column based on the Count of Delimiters
Hi,

I have a requirement where in I need to insert delimiters before the last column of the total delimiters is less than a specified number.

Say if the delimiters is less than 139, I need to...
1,468
Posted By arunkesi
Unzipping a file which has multiple folders and each folder has the files with same name in it
Hi,

I have a zipped file a.zip. This has got multiple folders in it say x and y. x contains a.txt and y contains a.txt. Is it possible to unzip this file and have the 2 files extracted and rename...
Showing results 1 to 14 of 14

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