From owner-freebsd-questions@FreeBSD.ORG Tue Jan 29 02:41:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B2335538 for ; Tue, 29 Jan 2013 02:41:44 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ia0-x22d.google.com (ia-in-x022d.1e100.net [IPv6:2607:f8b0:4001:c02::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 69FC0F35 for ; Tue, 29 Jan 2013 02:41:44 +0000 (UTC) Received: by mail-ia0-f173.google.com with SMTP id l29so5304095iag.18 for ; Mon, 28 Jan 2013 18:41:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=iFXHCu5cdxHnhjdjd5fIpWY4mHegqnBUtVEUHSSv+VI=; b=AJy+9N+orKmrEOLF3Va8ow6sKTRMJmBoPhE+VgZwGllmcGStdoVygqX/kHATsMerFR 4UsCS8so2MUYR2rJ5H8TdMEmJwe6jBnDT8ISkCJ+Kcme5bMf4rz60YxLQhM3Vz6NV9tl AV9wulsxiPv/cOqaR4Jy6zNLkndfLHXb9X9mlQTFqRc881QQDXK7+WKFkAJuqK1s//IZ yC6fETBE54z8nc3ED49h0gJZmtTrgcX1xXrXGjhzowkPFFp+DtVJEJq8HPijkVZ5Rsk1 WxGTKJKFOPR+wdsKu1rrJwDJYo+SM8fFOAtFRcT8PbXMlOvcvgCjQRFNWUiXiL96TW3I rB7g== X-Received: by 10.43.110.132 with SMTP id ek4mr10125859icc.32.1359427304105; Mon, 28 Jan 2013 18:41:44 -0800 (PST) Received: from [192.168.1.14] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id c3sm751730igj.1.2013.01.28.18.41.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Jan 2013 18:41:43 -0800 (PST) Message-ID: <510736DE.4060701@gmail.com> Date: Mon, 28 Jan 2013 20:41:34 -0600 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: How to fix a broken owner for files from world & build from ports? References: <20130128182726.42db0712.freebsd@edvax.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2013 02:41:44 -0000 On 1/28/2013 7:56 PM, Ralf Mardorf wrote: > > Still not perfect, I guess I need something similar to ls -RAl for some > directories :S and I didn't test what awk will do with names including a > space. Try `find /dir -ls`. You can pipe it into sed like this `find /dir -ls| sed -e 's%/dir%%g'` and then get something easily comparable.