From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-106310-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1NWtHZ-0007JQ-Rs
	for garchives@archives.gentoo.org; Mon, 18 Jan 2010 15:12:46 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 66F56E07D5;
	Mon, 18 Jan 2010 15:12:42 +0000 (UTC)
Received: from mail-px0-f174.google.com (mail-px0-f174.google.com [209.85.216.174])
	by pigeon.gentoo.org (Postfix) with ESMTP id 37E5EE07D5
	for <gentoo-user@lists.gentoo.org>; Mon, 18 Jan 2010 15:12:42 +0000 (UTC)
Received: by pxi4 with SMTP id 4so2011530pxi.32
        for <gentoo-user@lists.gentoo.org>; Mon, 18 Jan 2010 07:12:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=0YRiw109eCX9lp1T1vZfiVXqt/+eKM6PTj91Et9UfA8=;
        b=aR4y/I5UrXOrMNvJnQillXqsV61MLECq3nHfx6eCHTU/EW4Qv1mhEdpUdu41Q5SJRy
         9VUOik09/07siy22ch/Cb2YwOSSUvrwxgTGW5350bC77eF7SYBWn+WgaSC/F2K1EZbLv
         cZg8+l0qyAxeusRWWeog9cOtVUTMTynmS5AUA=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=PJNo3qKFKnEJ7AU68lhjoEDCp33uF0H2tSf1WH+F7g0NS5+q7JlRfpA9yBiSN78gqT
         eKNRRK6BMhaCfwHnQDomV0qFrpYkHBBNJQNRF5M5mAPDwqSTkxCRaiTq5kdu3wo36yLF
         JWmxC8S6WEW4kQBbOr9FTLsfca6cCzZZakNhs=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.114.253.7 with SMTP id a7mr4281526wai.70.1263827561684; Mon, 
	18 Jan 2010 07:12:41 -0800 (PST)
In-Reply-To: <49bf44f11001180704x6e4bbfam9a28d100d6b731a9@mail.gmail.com>
References: <49bf44f11001171959q54e8a080o1702253c15a495b2@mail.gmail.com>
	 <201001180849.16433.alan.mckinnon@gmail.com>
	 <49bf44f11001180704x6e4bbfam9a28d100d6b731a9@mail.gmail.com>
Date: Mon, 18 Jan 2010 07:12:41 -0800
Message-ID: <49bf44f11001180712y7c03d09bi6d85152d0b1dce6b@mail.gmail.com>
Subject: Re: [gentoo-user] Can you rewrite this 1996 qfile command?
From: Grant <emailgrant@gmail.com>
To: Gentoo mailing list <gentoo-user@lists.gentoo.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 951a67d1-7b54-42e4-b6ac-439a6146c97a
X-Archives-Hash: e8e5ad62ee66b9fec4f6125b47cf3855

>>> I've hit a bug that won't let me start an xfce4 session. =A0I think it
>>> was caused by upgrading glibc, and it is pretty well described in this
>>> nearly 4-year-old bug:
>>>
>>> http://bugs.gentoo.org/125909
>>>
>>> The solution is presented as:
>>>
>>> qlist -o $(qlist -ICv) | scanelf -Bs__guard -qf - =A0-F%F#s | xargs qfi=
le
>>>
>>> but I get:
>>>
>>> qlist: invalid option -- 'l'
>>> qlist: invalid option -- '['
>>>
>>> Removing the -l fixes the first invalid option, but I don't know how
>>> to fix the second. =A0Does anyone know how to rewrite this command so i=
t
>>> will work?
>>
>>
>> I can't see how you can get those errors, unless you have a broken qlist=
 that
>> is outputing something dodgy from the "qlist -ICv"
>>
>> If it persists, copy-paste your input and the output from your terminal =
into a
>> mail. Or run
>>
>> qlist -o $(qlist -ICv) | less
>>
>> and examine that closely for errors
>
> I was making a transcription error before, but after correcting it, it
> still doesn't work:
>
> # qlist -o $(qlist -ICv) | scanelf -Bs__guard -qf - =A0-F%F#s | xargs qfi=
le
> Usage: qfile <opts> <filename> : list all pkgs owning files
>
> Options: -[ef:m:oRx:vqChV]
> =A0-e, --exact =A0 =A0 =A0 =A0 =A0* Exact match
> =A0-f, --from =A0 =A0 <arg> * Read arguments from file <arg> ("-" for std=
in)
> =A0-m, --max-args <arg> * Treat from file arguments by groups of <arg>
> (defaults to 5000)
> =A0-o, --orphans =A0 =A0 =A0 =A0* List orphan files
> =A0-R, --root-prefix =A0 =A0* Assume arguments are already prefixed by $R=
OOT
> =A0-x, --exclude =A0<arg> * Don't look in package <arg>
> =A0-v, --verbose =A0 =A0 =A0 =A0* Make a lot of noise
> =A0-q, --quiet =A0 =A0 =A0 =A0 =A0* Tighter output; suppress warnings
> =A0-C, --nocolor =A0 =A0 =A0 =A0* Don't output color
> =A0-h, --help =A0 =A0 =A0 =A0 =A0 * Print this help and exit
> =A0-V, --version =A0 =A0 =A0 =A0* Print version and exit
>
> Does anyone know what might be wrong?
>
> - Grant

I think the problem above is that -I isn't a current option of qfile,
but removing it produces the error I originally posted about:

qlist: invalid option -- '['

- Grant