Search Results

Search: Posts Made By: arunkesi
203
Posted By arunkesi
Any Inputs
Any Inputs
203
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

(...
203
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...
1,484
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...
1,484
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...
1,484
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}...
1,484
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
1,484
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...
909
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)
...
3,828
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)...
796
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...
796
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...
796
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...
708
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

 

Featured Tech Videos

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