Re: bin/15205: [patch] Addition to random(6)

看板FB_bugs作者時間15年前 (2010/08/10 18:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/9 (看更多)
The following reply was made to PR bin/15205; it has been noted by GNATS. From: Alexander Best <arundel@freebsd.org> To: Chip Camden <sterling@camdensoftware.com>, Oliver Fromme <olli@lurza.secnetix.de> 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 <arundel@freebsd.org> 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輎tsfuehrung: > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M榀- > chen, HRB 125758, Gesch輎tsf梶rer: 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 _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
文章代碼(AID): #1COIgZ_t (FB_bugs)
討論串 (同標題文章)
文章代碼(AID): #1COIgZ_t (FB_bugs)