From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 10 10:30:07 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68DD0106564A for ; Tue, 10 Aug 2010 10:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3EB188FC0A for ; Tue, 10 Aug 2010 10:30:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7AAU76Z067318 for ; Tue, 10 Aug 2010 10:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7AAU7O1067313; Tue, 10 Aug 2010 10:30:07 GMT (envelope-from gnats) Date: Tue, 10 Aug 2010 10:30:07 GMT Message-Id: <201008101030.o7AAU7O1067313@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Alexander Best Cc: Subject: Re: bin/15205: [patch] Addition to random(6) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Best List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 10:30:07 -0000 The following reply was made to PR bin/15205; it has been noted by GNATS. From: Alexander Best To: Chip Camden , Oliver Fromme Cc: bug-followup@freebsd.org Subject: Re: bin/15205: [patch] Addition to random(6) Date: Tue, 10 Aug 2010 10:11:27 +0000 On Tue Aug 10 10, Oliver Fromme wrote: > Alexander Best wrote: > > could you provide an example how to reproduce the same output > > (ls /bin | random -s 8) with an unpatched copy of ranom? > > It's random, so it cannot be reproduced. ;-) *hehehe* i asume you know what i meant by that request. > > But seriously ... If you want random 4 lines out of 32 > (or out of any number, for that matter), the following > command will do it: > > $ ls /bin | random -f - | head -4 indeed this is an exact replacement for ls /bin | random -s 8. > > I agree that this PR can be closed. thanks a lot for clearing things up. i'll close the PR right away. cheers. alex > > Best regards > Oliver > > -- > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. > Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- > chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart > > FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd > > "The ITU has offered the IETF formal alignment with its > corresponding technology, Penguins, but that won't fly." > -- RFC 2549 -- a13x