regular expression - BBS
By Annie
at 2006-10-31T22:44
at 2006-10-31T22:44
Table of Contents
joe-3.5,1
jpeg-6b_4
libIDL-0.8.7
libXft-2.1.7_1
libdrm-2.0.2
libiconv-1.9.2_2
libltdl-1.5.22
libmcrypt-2.5.7_2
libtool-1.5.22_2
libxml2-2.6.26
linux-expat-1.95.8
linux-fontconfig-2.2.3_5
linux-sun-jdk-1.4.2.12
我想要把以上 package 去除版本編號
希望輸出結果如下
joe
jpeg
libIDL
.
.
...
linux-fontconfig
linux-sun-jdk
請問 sed或cut 辦得到嗎,指令要如何下?
--
jpeg-6b_4
libIDL-0.8.7
libXft-2.1.7_1
libdrm-2.0.2
libiconv-1.9.2_2
libltdl-1.5.22
libmcrypt-2.5.7_2
libtool-1.5.22_2
libxml2-2.6.26
linux-expat-1.95.8
linux-fontconfig-2.2.3_5
linux-sun-jdk-1.4.2.12
我想要把以上 package 去除版本編號
希望輸出結果如下
joe
jpeg
libIDL
.
.
...
linux-fontconfig
linux-sun-jdk
請問 sed或cut 辦得到嗎,指令要如何下?
--
Tags:
BBS
All Comments
Related Posts
有辦法收到信件時執行某些Script嗎?
By Caroline
at 2006-10-30T11:47
at 2006-10-30T11:47
pkg_add指令問題...
By Hardy
at 2006-10-30T09:47
at 2006-10-30T09:47
pkg_add指令問題...
By Michael
at 2006-10-30T09:37
at 2006-10-30T09:37
有辦法收到信件時執行某些Script嗎?
By Cara
at 2006-10-30T09:21
at 2006-10-30T09:21
有辦法收到信件時執行某些Script嗎?
By Emma
at 2006-10-30T09:08
at 2006-10-30T09:08