Search Results

Search: Posts Made By: robotronic
6,775
Posted By robotronic
cskumar to be honest, I didn't understand very...
cskumar to be honest, I didn't understand very well your last explanation. However, have you thinked about inserting all the informations in database's tables and do the joins inside the db? As I...
6,775
Posted By robotronic
If you don't have multiple occurrences of the...
If you don't have multiple occurrences of the same variable "$n" in file1, you can substitute the "gsub" command with "sub": this may increase performances a bit. Note that, in this manner, the...
6,775
Posted By robotronic
awk -F'|' ' BEGIN { getline in_stmt <...
awk -F'|' '
BEGIN { getline in_stmt < "file1"; }
{
nVars=split($0, values);
out_stmt=in_stmt;
for (i=1; i<=nVars; i++) {
gsub("\\$" i, values[i], out_stmt);
}...
Showing results 1 to 3 of 3

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