Colin Watson <[EMAIL PROTECTED]> writes:

>   # apt-cache search 'kernel*'
>   # apt-cache search kernel\*
>
> Plain kernel* will do unexpected things if you happen to have any files
> in the current directory whose names begin with "kernel".

     However apt-cache searches on a regex (does it use grep?), so
`kernel' gets the smae match as `kernel*'.

bob:vc-p2:bob>apt-cache search kernel|wc
    527    4402   32495
bob:vc-p2:bob>apt-cache search "kernel*"|wc
    527    4402   32495

Regards,

Bob
-- 
   _
  |_)  _  |_    Robert D. Hilliard        <[EMAIL PROTECTED]>
  |_) (_) |_)   1294 S.W. Seagull Way     <[EMAIL PROTECTED]>
                Palm City, FL 34990 USA   GPG Key ID: 390D6559 
                                            


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to