由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - sed question: how to join even line to the odd line ?
相关主题
a sed questionvim 里面进入visual模式后选择然后进入command line后的那个 '<,'> 是什么意思?
shell script questionQuestion about konqueror.
请问怎么把两个行数相等的文件合并起来?一个shell script 的问题
网络设置问题Fedora kernel tokeep question
question about "stty"perl 高手看过来
how to step over a line in code with gdb?ask a quention
quick questionhow to change to number in multiple strings of a file?
Question for VPN users.Perl问题求助
相关话题的讨论汇总
话题: line话题: sed话题: odd
进入Linux版参与讨论
1 (共1页)
s*****w
发帖数: 1527
1
hi, my txt is like this,
first line
second line
third line
how to make it into
first line second line
third line
thanks 1
b********h
发帖数: 119
2
这个用awk好像比较简单啊,可以直接判断奇偶行。

【在 s*****w 的大作中提到】
: hi, my txt is like this,
: first line
: second line
: third line
: how to make it into
: first line second line
: third line
: thanks 1

1 (共1页)
进入Linux版参与讨论
相关主题
Perl问题求助question about "stty"
Alternative To The "200 Lines Kernel Patch That Does Wonders" Which You Can Use Right Awayhow to step over a line in code with gdb?
tar questionquick question
mmap questionQuestion for VPN users.
a sed questionvim 里面进入visual模式后选择然后进入command line后的那个 '<,'> 是什么意思?
shell script questionQuestion about konqueror.
请问怎么把两个行数相等的文件合并起来?一个shell script 的问题
网络设置问题Fedora kernel tokeep question
相关话题的讨论汇总
话题: line话题: sed话题: odd