sed 轉 awk (replace某一行) - Linux

By Wallis
at 2008-10-08T00:50
at 2008-10-08T00:50
Table of Contents
cat 1.txt
1
2
3
3
5
sed '4c ok' 1.txt
1
2
3
ok
5
請問 如何用 awk 取代第四行呢 ?
--
Tags:
Linux
All Comments
Related Posts
openswan 做ipsec nat 的問題~

By Mia
at 2008-10-07T19:10
at 2008-10-07T19:10
查看hit rate(命中率)的方法,使用sysatat中的sar

By Oliver
at 2008-10-07T17:31
at 2008-10-07T17:31
板眾幫組一台PC for Ubuntu

By Audriana
at 2008-10-07T15:50
at 2008-10-07T15:50
關於舊電腦安裝linux

By Linda
at 2008-10-07T15:49
at 2008-10-07T15:49
網卡燒掉?

By Barb Cronin
at 2008-10-07T12:23
at 2008-10-07T12:23