Search Results

Search: Posts Made By: karthikbhuvana
3,125
Posted By karthikbhuvana
Read a file, add some text and send an email
Hi,

If I am asking this question, you must have already figured out , that I am new to Unix, so here it goes

I was trying to read a file, add some user defined content to it and send out an...
3,734
Posted By karthikbhuvana
Thanks Ahamed, this is perfect, i can change the...
Thanks Ahamed, this is perfect, i can change the script according to the format i have at hand now.

--Karthik
3,734
Posted By karthikbhuvana
Yes :) ---------- Post updated at 05:08 PM...
Yes :)

---------- Post updated at 05:08 PM ---------- Previous update was at 05:00 PM ----------

Ahamed,


The actual file just contains 2 columns and the awk command provided by Yoda works...
3,734
Posted By karthikbhuvana
Hi Ahamed, Thanks for replying, but the...
Hi Ahamed,

Thanks for replying, but the output from the command comes as



3 Dave,Mexico,City,Mexico,Andy,Phoenix,USA ( note that the lines are being grouped and appended with a coma,...
3,734
Posted By karthikbhuvana
Hi Yoda, Here is the sample Input and...
Hi Yoda,

Here is the sample Input and output


1 Bill Portland USA
1 Robert Los Angeles USA
1 Mike Amsterdam Netherlands
1 Rick New York USA
2 Adam ...
3,734
Posted By karthikbhuvana
Hi Yoda, Thanks for the explanation, This...
Hi Yoda,

Thanks for the explanation, This does solve my purpose, but to understand the script a little better, I was trying to modify the script to include a third field, instead of just 2, and I...
3,734
Posted By karthikbhuvana
Thanks Yoda, that works great, can you also...
Thanks Yoda, that works great, can you also explain the command, so that i know what to do in future.

Thanks,
Karthik
3,734
Posted By karthikbhuvana
Group by and string concatenation
Hi,

I was trying to work on a file which had the following data format

1 hi
1 this
1 is
1 john
2 hello
3 test
3 case
the expected output file is the below

1 hi,...
Showing results 1 to 8 of 8

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