Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

page conflict: print #15605

Open
Managor opened this issue Jan 24, 2025 · 2 comments
Open

page conflict: print #15605

Managor opened this issue Jan 24, 2025 · 2 comments

Comments

@Managor
Copy link
Collaborator

Managor commented Jan 24, 2025

Zhs builtin print (#15597) and run-mailcap alias print (https://github.com/tldr-pages/tldr/blob/main/pages/linux/print.md) overlap. This is a thread for discussing solutions.

@sbrl
Copy link
Member

sbrl commented Jan 25, 2025

It is probably worth discussing this in #15597, or adding some links to affected pages/issues?

In this case I understand we haev zsh's print and print as an alias from run-mailcap.

I then propose:

  • zsh's print becomes print-zsh
  • run-mailcap's print becomes print-mailcap or mailcap-run-print
  • print becomes a disambiguation page:
# print

> Multiple commands have the name `print`.
> See also `print-zsh` and `mailcap-run-print`.

- View tldr page for zsh's print command:

`tldr print-zsh`

- View tldr page for mailcap's print alias:

`tldr run-mailcap-print`

@acuteenvy
Copy link
Member

This issue was discussed in #8786. There is already one disambiguation page in the repository (added in #10783), which uses dots as the separator between the command and where it's from. Whatever we end up using, I would argue against hyphens, because they are already being used as a substitute for spaces. mailcap-run-print might confuse someone into thinking there is a mailcap run print command.

@Managor Managor mentioned this issue Jan 26, 2025
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants