 |
网友:
lee
| 时间:2004-10-15 18:49:50 IP地址:61.51.73.★ |
|
|
|
|
|
 |
网友:
lee
| 时间:2004-10-15 18:49:50 IP地址:61.51.73.★ |
|
|
|
|
|
 |
网友:
myhstone
| 时间:2004-10-17 16:39:29 IP地址:61.149.201.★ |
|
|
|
|
|
 |
网友:
ejzhang
| 时间:2004-10-18 16:39:36 IP地址:61.55.184.★ |
|
|
|
|
|
 |
网友:
ejzhang
| 时间:2004-10-18 16:39:36 IP地址:61.55.184.★ |
|
|
|
|
|
 |
网友:
HEHE
| 时间:2004-10-21 13:11:44 IP地址:202.109.79.★ |
|
|
|
|
|
 |
网友:
牙齿
| 时间:2004-10-24 05:14:38 IP地址:61.50.242.★ |
|
|
|
|
|
 |
网友:
牙齿
| 时间:2004-10-24 05:14:38 IP地址:61.50.242.★ |
|
|
|
|
|
 |
网友:
笨猪猪
| 时间:2004-10-29 16:22:23 IP地址:219.233.25.★ |
|
|
|
|
|
 |
网友:
笨猪猪
| 时间:2004-10-29 16:22:23 IP地址:219.233.25.★ |
|
|
|
|
|
 |
网友:
小飞爱使申华
| 时间:2004-11-10 07:56:47 IP地址:24.156.32.★ |
|
|
|
|
|
 |
网友:
笨猪猪
| 时间:2004-11-22 22:50:01 IP地址:211.95.46.★ |
|
|
|
<p>嘻嘻,小飞GG速度够快哈。。。。。。</p>
|
|
|
 |
网友:
西门吹牛
| 时间:2005-02-06 11:44:06 IP地址:202.108.91.★ |
|
|
|
|
|
 |
网友:
sunberk
| 时间:2005-05-13 16:17:56 IP地址:218.106.97.★ |
|
|
|
|
|
 |
网友:
sunberk
| 时间:2005-05-13 16:17:56 IP地址:218.106.97.★ |
|
|
|
|
|
 |
网友:
admirer
| 时间:2005-06-05 19:45:07 IP地址:218.244.252.★ |
|
|
|
|
|
 |
网友:
Rainux | 时间:2006-03-29 02:14:30 IP地址:218.201.72.★ |
|
|
|
|
|
 |
网友:
Liqix | 时间:2006-11-14 22:04:11 IP地址:222.36.109.★ |
|
|
|
|
|
 |
网友:
不顶不像话 | 时间:2007-08-03 09:44:46 IP地址:218.79.184.★ |
|
|
|
|
|
 |
网友:
不顶不像话 | 时间:2007-08-03 10:07:02 IP地址:218.79.184.★ |
|
|
|
|
|
 |
网友:
本站网友 | 时间:2007-11-26 11:04:02 IP地址:124.42.6.★ |
|
|
|
|
|
 |
网友:
守住 | 时间:2008-07-07 14:00:20 IP地址:202.108.101.★ |
|
|
|
|
|
 |
网友:
小新 | 时间:2008-07-15 09:42:19 IP地址:125.33.192.★ |
|
|
|
|
|
 |
网友:
huwenhuo | 时间:2008-08-15 22:49:15 IP地址:202.127.18.★ |
|
|
|
sed 's/[:digit:]\{1,\}//g' file
file内容只有一行:
At5g12345
运行结果:
A512345
sed --version
sed --version
GNU sed version 4.1.5
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.
不知道睡么回事来的?
|
|
|
 |
网友:
huwenhuo | 时间:2008-08-15 22:52:35 IP地址:202.127.18.★ |
|
|
|
$ sed 's/[:digit:]\{1,\}//g' file
A512345
$ sed 's/[:digit:]//g' file
A512345
$ sed 's/\[:digit:\]//g' file
At5g12345
$ sed 's/\[\[:digit:\]\]//g' file
At5g12345
$ sed 's/[:digit:][:digit:][:digit:]//g' file
At5g12345
|
|
|
 |
网友:
huwenhuo | 时间:2008-08-15 22:54:35 IP地址:202.127.18.★ |
|
|
|
要用到正则表达式的时候,只好又回去用perl,
但是有时候真的是shell方便,
只好把 PERL 程序在shell里调用。
这shell里的正则就不能搞好点吗。
|
|
|
 |
网友:
kaka | 时间:2009-03-10 19:29:22 IP地址:221.208.129.★ |
|
|
|
to huwenhuo :
sed 's/[:digit:]\{1,\}//g' file
file内容只有一行:
At5g12345
运行结果:
A512345
我猜你应该用 sed -e 's/[0-9]*//g' file
|
|
|
 |
网友:
路过 | 时间:2009-05-29 20:02:36 IP地址:121.31.17.★ |
|
|
|
|
|