Search Results

Search: Posts Made By: viveklgupta007
5,081
Posted By viveklgupta007
Hi Rudi, Sorry for the late reply...i was...
Hi Rudi,

Sorry for the late reply...i was stuck with something else...

the file you are looking at is for sample....we usually use vlookup to reconcile the data and find the...
5,081
Posted By viveklgupta007
Hi Rudi....the code is working file in some...
Hi Rudi....the code is working file in some cases...however please refer the attached...in few cases the value is not getting looked up...


Column 2 in File1.txt

is looked up with Column 4...
5,081
Posted By viveklgupta007
Sorry Robin, i think i gave you incorrect...
Sorry Robin, i think i gave you incorrect examples...please find attached the corrected files...File4.txt to be looked up in File5.txt and the output should be like File6_Output.txt...

Thanks.
5,081
Posted By viveklgupta007
so File1.txt is: nu1 eu11 10 nu2 ...
so File1.txt is:
nu1 eu11 10
nu2 eu12 2
nu3 eu13 14
nu4 eu14 4
nu5 eu15 9
nu6 eu16 0
nu7 eu17 7
nu8 eu18 12
nu9 eu19 9
nu10 eu20 ...
5,081
Posted By viveklgupta007
This is working as it should be...THANKS A...
This is working as it should be...THANKS A TON.... :)

---------- Post updated at 05:57 PM ---------- Previous update was at 05:14 PM ----------

Hi Rudi....with the current code we would be able...
5,081
Posted By viveklgupta007
Thanks JIM.....it did really helped.....thanks a...
Thanks JIM.....it did really helped.....thanks a ton !!! :)

---------- Post updated at 11:49 PM ---------- Previous update was at 11:43 PM ----------

THANKS A TON FOR ALL OF YOU HELPING ME...
5,081
Posted By viveklgupta007
Me2....however i am using Cygwin for all my shell...
Me2....however i am using Cygwin for all my shell scripts and it is working fine....let me see if i can get a linux server from my friend...or will ask him to test their...whether it works...

...
5,081
Posted By viveklgupta007
i saved the content into another text file,...
i saved the content into another text file, renamed it as .sh and then executed it on Windows-machine through Cygwin...i am using cygwin as i do not have any linux machine to execute...:(
5,081
Posted By viveklgupta007
im running this through Cygwin
im running this through Cygwin
5,081
Posted By viveklgupta007
Still not: line 7: syntax error near unexpected...
Still not:
line 7: syntax error near unexpected token `done'
line 7: `done > File3b.txt

---------- Post updated at 09:28 PM ---------- Previous update was at 09:25 PM ----------

Still not...
5,081
Posted By viveklgupta007
Hi Robin... i am getting the following error...
Hi Robin...

i am getting the following error while executing the second code...
line 4: unexpected EOF while looking for matching ``'
line 8: syntax error: unexpected end of file

pls help
...
5,081
Posted By viveklgupta007
Thans a ton Rudi.....this works... For 2nd...
Thans a ton Rudi.....this works...

For 2nd request, please find below the scenario:

File1.txt:
nu1 eu11 10
nu2 eu12 2
nu3 eu13 14
nu4 eu14 4
nu5 eu15 9
nu6 ...
5,081
Posted By viveklgupta007
Help require for vLookup Utility same as in EXCEL
Hi guys,

can someone please help me with a vlookup utility in shell script that does the work similar to Excel.

Ex:
If File1.txt is
1
2
11
4
12

and File2.txt is
1 tab1
2 tab2
3 tab3...
Showing results 1 to 13 of 13

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