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

look: add page #12159

Merged
merged 9 commits into from Feb 4, 2024
Merged

look: add page #12159

merged 9 commits into from Feb 4, 2024

Conversation

vitorhcl
Copy link
Member

@vitorhcl vitorhcl commented Jan 29, 2024

linux/look for #11827.

  • The page(s) are in the correct platform directories: common, linux, osx, windows, sunos, android, etc.
  • The page(s) have at most 8 examples.
  • The page description(s) have links to documentation or a homepage.
  • The page(s) follow the content guidelines.
  • The PR title conforms to the recommended templates.

The command is available for Linux, FreeBSD, NetBSD, OpenBSD and macOS.

There are 4 differences between the implementations:

  1. The flags -V/--version and -h/--help are only present on the util-linux version.
  2. The flag -a/--alternative is only present on util-linux version (only FreeBSD version provides compatibility ignoring this flag)
  3. On util-linux version -d/--alphanum search on blank and alphanumeric characters, whereas on the others the search is performed only on alphanumeric characters for historical reasons:

The original manual page stated that tabs and blank characters participated in comparisons when the -d option was specified. This was incorrect and the current man page matches the historic implementation.

  1. util-linux, FreeBSD and macOS support long and short options, while NetBSD and OpenBSD only support short options.

@github-actions github-actions bot added new command Issues requesting creation of a new page. page edit Changes to an existing page(s). labels Jan 29, 2024
@vitorhcl vitorhcl changed the title Util linux add look look: add page Jan 29, 2024
@tldr-bot

This comment was marked as off-topic.

@tldr-bot

This comment was marked as resolved.

@tldr-bot

This comment was marked as off-topic.

@tldr-bot
Copy link

tldr-bot commented Feb 4, 2024

Hello! I've noticed something unusual when checking this PR:

  • The page pages/freebsd/look.md already exists in the common directory.
  • The page pages/linux/look.md already exists in the common directory.

Is this intended? If so, just ignore this comment. Otherwise, please double-check the commits.

@kbdharun kbdharun merged commit 89f368d into tldr-pages:main Feb 4, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new command Issues requesting creation of a new page. page edit Changes to an existing page(s).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants