c**t 发帖数: 2744 | 1 why are there missing lines in merged file?
[proc]:/path/to/data> wc -l In1.csv
201100 In1.csv
[proc]:/path/to/data> wc -l In2.csv
201100 In2.csv
[proc]:/path/to/data> wc -l In3.csv
201100 In3.csv
[proc]:/path/to/data> paste -d "," In1.csv In2.csv In3.csv > Invoices_
201011291354.csv
[proc]:/path/to/data> wc -l Invoices_201011291354.csv
179558 Invoices_201011291354.csv | c**t 发帖数: 2744 | 2 it's not the issue of paste command but IO direction, I guess
【在 c**t 的大作中提到】 : why are there missing lines in merged file? : [proc]:/path/to/data> wc -l In1.csv : 201100 In1.csv : [proc]:/path/to/data> wc -l In2.csv : 201100 In2.csv : [proc]:/path/to/data> wc -l In3.csv : 201100 In3.csv : [proc]:/path/to/data> paste -d "," In1.csv In2.csv In3.csv > Invoices_ : 201011291354.csv : [proc]:/path/to/data> wc -l Invoices_201011291354.csv
| c**t 发帖数: 2744 | 3 must be swap/tmp space limit caused the error; wrote a few lines perl code
to merge them, which worked fine.
【在 c**t 的大作中提到】 : it's not the issue of paste command but IO direction, I guess
|
|