On Saturday 13 October 2007, A. Costa wrote: > But getting 'ara' to detect that it's installed is tough. > Regexps don't seem to work as per 'man ara': > > % ara -short 'Provides=libdvdcss and Status=~/.*install.*/i' ; echo $? > (No packages). > 0 > > # try to find just a space or the letter 'e' > % ara -short 'Provides=libdvdcss and Status=~/.*[ e].*/i' ; echo $? > (No packages). > 0
You are correct that for some (unknown for me) reason the Status: field is empty, which is also verified by: ara -short 'Provides=ftp-server and Status=~//i' and ara -fields Package,Status -table 'Provides=ftp-server' I will try to investigate that unexpected behaviour. Thanks for your report. > (The exit code probably shouldn't be '0' for failed searches.) I believe that (No packages) is fine when no selectable packages are found, OTOH ara exists with a non-zero code when is really confised and can't proceed, for instance ara -no_such_option ; echo $? -- pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu> fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

