Date: Mon, 29 Jul 2019 10:23:13 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 239467] [NEW PORT] sysutils/frand: Selects a random file from given directory. Message-ID: <bug-239467-7788-WV8msgrloy@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-239467-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-239467-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239467 Rodrigo Osorio <rodrigo@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rodrigo@FreeBSD.org --- Comment #1 from Rodrigo Osorio <rodrigo@FreeBSD.org> --- Hi, No offense, but what's the benefit of your tool compared to `find . -type f -maxdepth 1 | sort -R | head -n1` command line ? The reservoir-sampling algorithm provide some benefits here ? Regards, -- rodrigo --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239467-7788-WV8msgrloy>