From owner-freebsd-questions@FreeBSD.ORG Fri Apr 20 19:27:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3F6D106567D for ; Fri, 20 Apr 2012 19:27:46 +0000 (UTC) (envelope-from matthewstory@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 53EF08FC14 for ; Fri, 20 Apr 2012 19:27:46 +0000 (UTC) Received: by vcmm1 with SMTP id m1so9245371vcm.13 for ; Fri, 20 Apr 2012 12:27:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HV/IciHGvvJ3vnIFxJFyQHl69cAKm792YcmATwU36vE=; b=LZ4c7vY+ywlc4Q6HtUqA7cRrIO8f2ewdgCd7MWMdeYLakVG1AWfAld/vGm0S9vyPQK GR1rgzwiQp9+6YG25nGbIS1taMa98Lku/OL8fKUAjI3Jb7dqHxj1CV27RNJw58pYZnyI rRYMDxFD5Ub29iu7ptlciXR3JQ81eBnkF7nI4XkQvFd7EGC+BgOlIFokj1sTJsAI6Pbe L/LFmC+ULVw/rTdF06PC92iwXJ8K1xvm9Jgkm/TqZIafiFVYBxtnK8+d27ONkl9OfChO tEo8l+oO+ekJkVYb4dW+7n+080v5/TuSJtuvB8rhhMmr4PVX6IEO+p0OHbToCUz8yg3D MTtw== MIME-Version: 1.0 Received: by 10.52.69.193 with SMTP id g1mr5025599vdu.126.1334950059855; Fri, 20 Apr 2012 12:27:39 -0700 (PDT) Received: by 10.52.185.167 with HTTP; Fri, 20 Apr 2012 12:27:39 -0700 (PDT) In-Reply-To: References: <143422657.20120420220833@yandex.ru> Date: Fri, 20 Apr 2012 15:27:39 -0400 Message-ID: From: Matthew Story To: Chuck Swiger Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Eugen Konkov , freebsd-questions@freebsd.org Subject: Re: find -printf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2012 19:27:46 -0000 On Fri, Apr 20, 2012 at 3:12 PM, Chuck Swiger wrote: > On Apr 20, 2012, at 12:08 PM, Eugen Konkov wrote: > > checking 'man find' there is no -printf parametr. > > > > Does FreeBSD has different version of find utility compare to linux? > > Yes. Linux comes with GNU find. > > > Maybe some knows workaroud for that? > > Install GNU find. > If you are working in a heterogenous environment, and do not want to install lots of tools for consistency, I would recommend sticking to the POSIX defined functionality/behaviors in all cases: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.html If you only use functionality that is defined there, it should work on all modern find implementations, regardless of OS, etc (that's more or less the entire reason for the specification ...). For older systems you might want to stick to the 2004 specification: http://pubs.opengroup.org/onlinepubs/009604599/utilities/find.html > > Regards, > -- > -Chuck > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- regards, matt