Search Results

Search: Posts Made By: Omri
1,016
Posted By Omri
I changed to: awk 'BEGIN{FS=OFS=",";...
I changed to:
awk 'BEGIN{FS=OFS=","; out=ARGV[1] ".removed.index"}

Now it's works fine.
1,016
Posted By Omri
I don't care of the content of the files at this...
I don't care of the content of the files at this moment. It's works great. The problem is that 'removed.index' file has been overwritten time after time, because ${f} treated as string.

Lets say...
1,016
Posted By Omri
Print to file name
I have the following code:
for f in *.csv; do
awk 'BEGIN{FS=OFS=","}
FNR==NR {
for (i=1; i<=NF; i++)
sums[i] += $i;
++r;
next
} FNR==1 {
for (i=3; i<=NF; i++) {
if...
Showing results 1 to 3 of 3

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