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-106307-garchives=archives.gentoo.org@lists.gentoo.org>) id 1NWtAF-0006ft-4v for garchives@archives.gentoo.org; Mon, 18 Jan 2010 15:05:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E662E0764; Mon, 18 Jan 2010 15:04:55 +0000 (UTC) Received: from mail-pz0-f199.google.com (mail-pz0-f199.google.com [209.85.222.199]) by pigeon.gentoo.org (Postfix) with ESMTP id E418DE0764 for <gentoo-user@lists.gentoo.org>; Mon, 18 Jan 2010 15:04:54 +0000 (UTC) Received: by pzk37 with SMTP id 37so2170374pzk.10 for <gentoo-user@lists.gentoo.org>; Mon, 18 Jan 2010 07:04:54 -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=WypiHFV0GopmduEFJwRBgdfaM/Owpr8XogVdFZusaQg=; b=DZYqeElUwYIXP8BVoTDjfan3sMuecrH7wOAza4WyxFd4VaD7zTEvkmALXB4S313XgV JH1H6T7BUllF03y1csG0oNDZPc+yZOl/Nswl02NIA+hDeoOgVBo6tf/W5v2a5Ul9EPj4 WBY9NdgMQRLcxVcQ9yf5XLJExAQaDQeNC4r+w= 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=V1BJ92q3ACSxfpN7JRnV5b+PQdBpVlZtcsUG9lGNDJEj+H4Z5ASWvLM5DggbewgHaL tSQvpSaGAiNxbkWk/DIIfIshdAiAMerInmolBzV2UfACROWbTE+vHvzatA4xMUzVGaaF mpW7c+0Uvj6j5ZlZZ2Zp+hSScjDmQ3q6SwQ1E= 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.49.11 with SMTP id w11mr4308803waw.183.1263827094335; Mon, 18 Jan 2010 07:04:54 -0800 (PST) In-Reply-To: <201001180849.16433.alan.mckinnon@gmail.com> References: <49bf44f11001171959q54e8a080o1702253c15a495b2@mail.gmail.com> <201001180849.16433.alan.mckinnon@gmail.com> Date: Mon, 18 Jan 2010 07:04:54 -0800 Message-ID: <49bf44f11001180704x6e4bbfam9a28d100d6b731a9@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: ff9af0e4-1016-472a-bb31-b992da4a778e X-Archives-Hash: caee42fcd6a7c1b95f862d59dc34f5e9 >> 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 qfil= e >> >> 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 it >> 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 i= nto 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 - -F%F#s | xargs qfile Usage: qfile <opts> <filename> : list all pkgs owning files Options: -[ef:m:oRx:vqChV] -e, --exact * Exact match -f, --from <arg> * Read arguments from file <arg> ("-" for stdin) -m, --max-args <arg> * Treat from file arguments by groups of <arg> (defaults to 5000) -o, --orphans * List orphan files -R, --root-prefix * Assume arguments are already prefixed by $ROOT -x, --exclude <arg> * Don't look in package <arg> -v, --verbose * Make a lot of noise -q, --quiet * Tighter output; suppress warnings -C, --nocolor * Don't output color -h, --help * Print this help and exit -V, --version * Print version and exit Does anyone know what might be wrong? - Grant