由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - what's wrong with paste?
相关主题
linux下怎么查CPU的vid?问道题
please help: using 'cat' to merge large text files in linux如何在linux中用a2ps merge 两个 eps figures?
GIT 问题怎样merge两个eps figures? (转载)
ps 命令也 stuck。。。请帮忙看看为什么没空间了?
I love virtual box!after repartition, /proc/partitions not updated
install matlab以后用/proc读取Linux系统信息要给联想交专利费!!
Linux GNU C, readlink问题 (转载)新手请教pid问题
问个列处理问题如何让BLOG里的字保持距离? (转载)
相关话题的讨论汇总
话题: proc话题: path话题: wc话题: invoices话题: 201100
进入Linux版参与讨论
1 (共1页)
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
1 (共1页)
进入Linux版参与讨论
相关主题
如何让BLOG里的字保持距离? (转载)I love virtual box!
emacs paste transpose 问题install matlab
请教 VNC viewer 的问题Linux GNU C, readlink问题 (转载)
在term下undo的快捷键是什么?问个列处理问题
linux下怎么查CPU的vid?问道题
please help: using 'cat' to merge large text files in linux如何在linux中用a2ps merge 两个 eps figures?
GIT 问题怎样merge两个eps figures? (转载)
ps 命令也 stuck。。。请帮忙看看为什么没空间了?
相关话题的讨论汇总
话题: proc话题: path话题: wc话题: invoices话题: 201100