If my referral data is look like this:
I planned to replace those variable referral data length content to "X" based on its respectively length.
Input data:
Desired output:
Thanks again for your advice.
Thanks again and a lot, rdcwayx
You are expert in awk language ^^
Do you familiar how to replace all the lines content to "X" based on the threshold of "X" in one line?
eg. If the output file that generated by your awk script got continuous X more than 10. I plan to replace the all lines with X at this time.
By your script, it shown that sample_1 got 12 continuous x in its content which above my threshold limit (>=10) of continuous x in a line.
My desired output will look like this at this moment:
Thanks again, rdcwayx
If my referral data (3560 different referral data) and input data (around 20MB) is very huge, do you got any better solution to improve the performance of replace the data based on referral data?
Thanks first
Thanks a lot, rdcwayx
Can I ask you what is the meaning of "nohup"?
Is it also a command?
Thanks ^^
---------- Post updated at 01:54 AM ---------- Previous update was at 01:41 AM ----------
Hi rdcwayx,
I Just suddenly think one situation that needs your advice.
referral data
Input data:
You got any idea to generate the output result as below:
Thanks again ya.
Just think that this case might be more sticky when replaced the referral data with "X".
Hi Friends,
I have a file with sample amount data as follows:
-89990.3456
8788798.990000128
55109787.20
-12455558989.90876
I need to exclude the '-' symbol in order to treat all values as an absolute one and then I need to sum up.The record count is around 1 million.
How... (8 Replies)
I have a huge list of files (about 300,000) which have a pattern like this.
.I 1
.U
87049087
.S
Am J Emerg
.M
Allied Health Personnel/*; Electric Countershock/*;
.T
Refibrillation managed by EMT-Ds:
.P
ARTICLE.
.W
Some patients converted from ventricular fibrillation to organized... (1 Reply)
I habe a UNIX Variablw with content as below:
WHOLE_REC_TXT="$record"
where $record contains contents of file
Sample contents of file:
topic_id|1624|AIDS-HIV||
topic_id|1625|Allergies||
topic_id|1626|Alzheimer s||
topic_id|1627|Knee Pain||
topic_id|1628|Autism||... (2 Replies)
I have huge xml file in server and i want to convert it to .csv with specific column ...
i have search in blog but i didn't get any usefully command.
Thanks in advance (1 Reply)
I'll try to keep this short, but basically I need to figure out a way to load data in shared memory (this file will be called load.c) I will later access the data with a print.c program.
The "data" is in the form of a student database that looks like this
John Blakeman
111223333
560... (7 Replies)
i am studying a script which is used for data loading.
it has functions which deletes all the existing data before loading and then loads new fresh data.
but i am stuck up at function Replace into table ( col 1,col 2....)
Does this signify All Inserts. (1 Reply)
I am having problems with mysql authentication using courier-authlib (authdaemond). This is getting really frustrating. The error I am getting is:
Aug 28 17:48:48 www authdaemond: modules="authmysql", daemons=5
Aug 28 17:48:48 www authdaemond: Installing libauthmysql
Aug 28 17:48:48 www... (0 Replies)