tldr-pages/tldr

Possible duplicates: shuf

Opened this issue · 3 comments

Command description

As I was working on #17561, I found that there is duplication between the BSD/OSX shuf and the common shuf. This looks to be the same to me - if they are, I'll update the OSX content to link to the same invocation documentation as the common version. If not, we'll need to make sure these are truly differentiated. For now, the other PR should be approved to at least fix the broken links as I dive into whether these are different.

Command details

shuf

Documentation

BSD/OSX:

Generate random permutations. More information: https://keith.github.io/xcode-man-pages/shuf.1.html.

Common:

Generate random permutations. More information: https://www.gnu.org/software/coreutils/manual/html_node/shuf-invocation.html.

Platform

BSD/OSX, Common

VCS repository link (e.g. GitHub, GitLab)

No response

Additional information

No response

Try running find . -type f -printf "%f\n" | sort | uniq -c | sort in the pages directory. You can instantly view the number of duplicates across the directories.

It's one of the commands found in #17107

Try running find . -type f -printf "%f\n" | sort | uniq -c | sort in the pages directory. You can instantly view the number of duplicates across the directories.

It's one of the commands found in #17107

Thanks for linking - I don't really have the time to get that deep into it right now, but I'll do so in the next couple of days. It feels like it'll probably be a bigger effort than just a handful of pages, but I'll add a list once I get the time to run and differentiate.

I did already prune the duplicates few months ago. Won't be as big of a job as it would have been.