Search Results

Search: Posts Made By: redse171
1,305
Posted By redse171
Hi disedorgue, Thank you very much. It works...
Hi disedorgue,

Thank you very much. It works great on my real data. :b:
1,305
Posted By redse171
Transposing rows to columns with multiple similar lines
Hi,

I am trying to transpose rows to columns for thousands of records. The problem is there are records that have the same lines that need to be separated. the input file as below:-

...
1,524
Posted By redse171
Hi Chubler_XL, The codes worked perfectly on...
Hi Chubler_XL,

The codes worked perfectly on my real data!. So, split function can be used to get selected lines. Thank you very much!. :b:
1,524
Posted By redse171
Find key pattern and print selected lines for each record
Hi,

I need help on a complicated file that I am working on. I wanted to extract important info from a very huge file. It is space delimited file. I have hundred thousands of records in this file....
1,209
Posted By redse171
Hi Pravin27, Thanks a lot! It really works...
Hi Pravin27,

Thanks a lot! It really works perfectly on my real data. New things in the codes that interest me like asort function. I am wondering about the input file being written twice there...
1,209
Posted By redse171
Convert rows to column and add header
Hi,

I need help to convert rows in input file into a table.

inputfile


192.98.1 192.98.192.98.17 VVC family Zorro 10
192.98.1 192.98.192.98.17 VVC...
1,885
Posted By redse171
Hi Aia, great..thanks so much! :) ...
Hi Aia,

great..thanks so much! :)

---------- Post updated at 10:04 PM ---------- Previous update was at 10:02 PM ----------



Hi disedorgue,

Thanks for the info. Just fixed the sample...
1,885
Posted By redse171
Hi Scrutinizer, Thanks a lot! your code is a...
Hi Scrutinizer,

Thanks a lot! your code is a lot shorter and clean. but i have a problem with R=(S1>Q1) ? Ql/Sl : Sl/Ql . Some of the results give me negative values and i know why. So, i used my...
1,885
Posted By redse171
Simplified awk script for if else statements
Hi,

The below awk script that i did is working fine. It gives me the results that i want. But, the script is not smart and very long as i have 8 conditions to meet. The sample script below only...
1,747
Posted By redse171
Hi shamrock, It worked as expected. I just...
Hi shamrock,

It worked as expected. I just need to add OFS="\t" at the end. thanks a lot! :)

---------- Post updated at 01:12 PM ---------- Previous update was at 01:11 PM ----------



Hi...
1,747
Posted By redse171
Find matched patterns and print them with other patterns not the whole line
Hi,

I am trying to extract some patterns from a line. The input file is space delimited and i could not use column to get value after "IN" or "OUT" patterns as there could be multiple white spaces...
2,164
Posted By redse171
Hi Don Crugan, No, it is not what i meant....
Hi Don Crugan,

No, it is not what i meant. Actually I prefer your code the most because my results are very clean and clear and much better than what i expected to have in the beginning. Before u...
2,164
Posted By redse171
Hi Don Crugan, This code worked awesome!! I...
Hi Don Crugan,

This code worked awesome!! I tried on my real data and the results are perfect. Thanks so much for your detail explanation too. I was working on codes by RavinderSingh13. It worked...
2,164
Posted By redse171
Hi Don, forgot that one. sorry bout that. it...
Hi Don,

forgot that one. sorry bout that. it should be the second one: - Yes[/QUOTE]

thanks.

---------- Post updated at 09:23 AM ---------- Previous update was at 08:58 AM ----------

Hi...
2,164
Posted By redse171
Match value in column and append file with new values
Hi,

I need help to match two files based on two columns.

file_1


ID AA An Ca Ele Pro Su Ot Tra
g13950 No No Yes No Yes Yes Yes Yes
g05760 Yes No No No No Yes Yes Yes...
1,344
Posted By redse171
cool... thanks a bunch... now i get it ;)
cool... thanks a bunch... now i get it ;)
1,344
Posted By redse171
Hi Scrutinizer, It worked awesome!!! and...
Hi Scrutinizer,

It worked awesome!!! and thanks so much for your explanation. I might sound stupid, but, i don't understand why the second array (F[2]) is the first text in parenthesis? what is...
1,344
Posted By redse171
Split certain strings in a line for a specific column.
Hi,

i need help to extract certain strings/words from lines with different length. I have 3 columns separated by tab delimiter. like below


Probable arabinan endo-1,5-alpha-L-arabinosidase...
2,460
Posted By redse171
Hi R. Singh, Yeah..it worked perfectly too....
Hi R. Singh,

Yeah..it worked perfectly too. Thanks so much :b:
2,460
Posted By redse171
Yeah, it worked great too.. :b: Thanks...
Yeah, it worked great too.. :b: Thanks Chubler_XL..
2,460
Posted By redse171
Yeah.. tried both and it works great too. A...
Yeah.. tried both and it works great too. A little bit complicated to understand compared to the first one. But I am glad that it gives something for me to think of. Thanks. :D
2,460
Posted By redse171
Hi Akshay Hegde, Thanks a bunch! It worked...
Hi Akshay Hegde,

Thanks a bunch! It worked great.. :)
2,460
Posted By redse171
Split a line into multiple lines based on delimeters
Hi,

I need help to split any lines that contain ; or ,

input.txtAc020 Not a good chemical process
AC030 many has failed, 3 still maintained
AC040 Putative; epithelial cells
AC050 ...
1,041
Posted By redse171
I am so sorry, the code worked great! it was a...
I am so sorry, the code worked great! it was a typo when i write the code into my real file. So, pls ignore my previous post (will delete it though). Thanks a ton for you help.
1,041
Posted By redse171
Hi RudiC, Thanks so much for your prompt...
Hi RudiC,

Thanks so much for your prompt response. The func <tab> null is always on the last occurrence for duplicate func in each record. Tried your code, but it removes func<tab>null in other...
Showing results 1 to 25 of 149

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