请问几个关于Sed的问题# Unix - 噫吁兮,危乎高哉
s*a
1 楼
Make a new file which contains all of the lines that do not
contain a numeric character.
我用sed -n '/[0-9]/!p' filename 可是不work
Make a new file which replaces any line with a numeric character
with a line of three X's "XXX"
这个是怎么弄呢?跟substitute又不是一回事,查notes也查不到
Make a new file which adds a new line (three X's) before each line
that contains a numeric character.
Make a new file which contains all lines that have a capital alphabetical
character in the original file.
偶notes , google了半天都查不到,大侠帮帮忙。
contain a numeric character.
我用sed -n '/[0-9]/!p' filename 可是不work
Make a new file which replaces any line with a numeric character
with a line of three X's "XXX"
这个是怎么弄呢?跟substitute又不是一回事,查notes也查不到
Make a new file which adds a new line (three X's) before each line
that contains a numeric character.
Make a new file which contains all lines that have a capital alphabetical
character in the original file.
偶notes , google了半天都查不到,大侠帮帮忙。