You are not logged in.

#1 2008-04-10 17:59:54

Blµb
Member
Registered: 2008-02-10
Posts: 224

rexpac

First of all, Hello arch users
I'm a newb here smile

It's just a tiny contribution, but still, I find it useful.
I don't know if there's anything similar already around, a friend of mine told me I should post here, and since he's been using arch for quite some time I thought I'll do so smile

It's a little shell script to update existing packages or install new packages using regexp search

eg.:
To update all packages containing lib32 or mingw:
$ rexpac -u lib32 mingw
(each argument is treated as an extra regexp, so the command above is the same as: rexpac -u 'lib32|mingw')

Or to install all packages containing lib32 or mingw:
$ rexpac -i lib32 mingw

The script can be found here:
http://stud4.tuwien.ac.at/~e0725517/arch/

EDIT:
Just upgraded it a little, added a check that if no packages are found pacman isn't even called
and added -w to install forced upgrades (packages for which `pacman -Sup` prints messages similar to: warning: flex: forcing upgrade to version 2.5.33-4)
-w uses --asdeps so that dependencies aren't added as requested packages (i hope this makes sense smile )

Last edited by Blµb (2008-04-10 18:30:08)


You know you're paranoid when you start thinking random letters while typing a password.
A good post about vim
Python has no multithreading.

Offline

Board footer

Powered by FluxBB