由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - How to delete every other line in a file?
相关主题
help on extract email address from txt file[转载] 如何观察程序的执行情况?
Print out Line Number using lp ???^M solution - easiest way
Help please: 2GB limit on file sizeinteresting problem
批量替换[转载] Re: cxterm 就是好!
一个很丢人的问题how to install .sfx file to unix
one line information extraction?[转载] 如何解开.tar.bz2文件?
where is gcc?Anybody knows where to get PINE source code? thanks!
Help, Webserver for Solaris 7JDK1.4.0 packages do not show up, does it matter?
相关话题的讨论汇总
话题: delete话题: every话题: line
进入Unix版参与讨论
1 (共1页)
s*****d
发帖数: 258
1
Got big data files, need to extract some of them, say delete every other line
what's the easiest way to achieve it?
I currently use this way:
$ gawk '(NR%2)==0' file >newfile
1 (共1页)
进入Unix版参与讨论
相关主题
JDK1.4.0 packages do not show up, does it matter?一个很丢人的问题
how to get part of a big text file?one line information extraction?
How to use tar to read file on tape?where is gcc?
PostscriptHelp, Webserver for Solaris 7
help on extract email address from txt file[转载] 如何观察程序的执行情况?
Print out Line Number using lp ???^M solution - easiest way
Help please: 2GB limit on file sizeinteresting problem
批量替换[转载] Re: cxterm 就是好!
相关话题的讨论汇总
话题: delete话题: every话题: line