in reply to Re^2: Split tab-separated file into separate files, based on column name (updated)
in thread Split tab-separated file into separate files, based on column name
Try changing '>' to '>>'. If I remember correctly, open will silently reopen an already open handle. Since you are using truncating write mode, each file gets truncated every time it is opened.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Split tab-separated file into separate files, based on column name (solved)
by LanX (Saint) on Aug 28, 2020 at 07:25 UTC | |
by jcb (Parson) on Aug 28, 2020 at 23:26 UTC | |
by LanX (Saint) on Aug 28, 2020 at 23:58 UTC |