On 8/6/07, Mark Baker <[EMAIL PROTECTED]> wrote:
> Carl Fürstenberg wrote:
> > Everytime I tries to use pcregrep, it just fails telling:
> >     pcregrep: Error in command-line regex at offset 0: unknown option 
> > bit(s) set
> >
> >
>
> It works fine for me:
>
> p4-7088:~>grep power.*wait /etc/inittab
> pf::powerwait:/etc/init.d/powerfail start
> po::powerokwait:/etc/init.d/powerfail stop
> p4-7088:~>dpkg -l pcregrep
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> uppercase=bad)
> ||/ Name           Version        Description
> +++-==============-==============-============================================
> ii  pcregrep       7.2-1          grep utility that uses perl 5
> compatible reg
> p4-7088:~>
>
> Please send me the input you used to get the error message and I will
> investigate. Until then there's not a lot I can do.
>
>

Here is an example:
[0:[EMAIL PROTECTED] twinkle]$ grep background *
morebits.js:    styles.insertRule(".quickformtooltip { z-index: 200;
position: absolute; padding: .1em; border: 1px dotted red;
background-color: Linen; font: caption; font-size: 10pt; max-width:
800px}", 0);
morebits.js:                    "background-color: AliceBlue; "+
morebits.js:                    "background-color: MediumPurple; "+
morebits.js:                    "background-color: MediumPurple; "+
morebits.js:                    "background-color: LightSteelBlue; "+
twinklewarn.old.js:     data_table.style.background = 'transparent';
[0:[EMAIL PROTECTED] twinkle]$ pcregrep background *
pcregrep: Error in command-line regex at offset 0: unknown option bit(s) set
[0:[EMAIL PROTECTED] twinkle]$ apt-cache policy pcregrep
pcregrep:
  Installerad: 7.2-1
  Kandidat: 7.2-1
  Versionstabell:
 *** 7.2-1 0
        500 http://ftp.dk.debian.org unstable/main Packages
        100 /var/lib/dpkg/status



-- 
/Carl Fürstenberg <[EMAIL PROTECTED]>

Reply via email to