cut



If I have a listing of packages,
such as : -

XML-Parser-2.34.tbz2
bin86-0.16.17.tbz2
libxml2-2.6.26.tbz2 system-tools-backends-1.4.2.tbz2

I want to cut the version number from the listing, leaving only bin86, libxml2, etc.
I think that cutting a "-" followed by a {0-9} achieve this ??? but cut only allows for a single delimiter.

How to achieve this ?

thanks

Grant
.



Relevant Pages

  • Re: Obsolete Packages
    ... section called "Obsolete and Locally Created Packages". ... I just ran 'aptitude update' again and the obsolete package listing is gone. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: No need for 2.4.23 (re compromise)
    ... > the security updates: ... why apt-cache search is listing kernel-source-2.4.20: ... But trying apt-cache search kernel-source-2.4.20 on ... I guess "available" includes packages manually installed. ...
    (Debian-User)
  • RE: Minimal RHEL4 install
    ... In you kickstart file you can under the packages use @base or @core. ... After that do a listing of installed packages and then decide on what ...
    (RedHat)
  • Finding this list, other lists to support specific packages
    ... I'd like to suggest listing as many per-package support resources ... so that those seeking help for specific packages be able ... to find the best source of expertise for those packages. ...
    (Fedora)
  • Re: Where is the overall list and descriptions of F7 packages?
    ... the extras and their versions with links to rpm downloads. ... In case you can't find an online listing, you can use yum ... to get a listing of information on all packages available ...
    (Fedora)