Skip to content

Conversation

@Managor
Copy link
Member

@Managor Managor commented Nov 4, 2025

Checklist

  • The page(s) are in the correct platform directories: common, linux, osx, windows, sunos, android, etc.
  • The page description(s) have links to documentation or a homepage.
  • The page(s) follow the content guidelines.
  • The page(s) follow the style guide.
  • The PR contains at most 5 new pages.
  • The PR is authored by me, or has been human-reviewed if it was created with AI or machine translation software.
  • The PR title conforms to the recommended templates.
  • Version of the command being documented (if known):

Reference issue: #

@github-actions github-actions bot added page edit Changes to an existing page(s). review needed Prioritized PRs marked for reviews from maintainers. labels Nov 4, 2025
@Managor Managor changed the title echo: add stdin example echo, cat: add stdin example Nov 4, 2025
Copy link
Member

@dmmqz dmmqz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think using "command" instead of "program" would be more consistent with other pages.

Co-authored-by: Lena Pastwa <126529524+acuteenvy@users.noreply.github.com>
@Managor
Copy link
Member Author

Managor commented Nov 5, 2025

$ grep -r "{{command}}" | wc -l
528
$ grep -r "{{program}}" | wc -l
39

However I sort of agree that in this case program makes more sense. You're essentially passing the data to the program while the command is just the syntax for the program. Does anyone have any differing opinions?

@kbdharun
Copy link
Member

kbdharun commented Nov 5, 2025

$ grep -r "{{command}}" | wc -l
528
$ grep -r "{{program}}" | wc -l
39

However I sort of agree that in this case program makes more sense. You're essentially passing the data to the program while the command is just the syntax for the program. Does anyone have any differing opinions?

I think both would work fine here in English, but translating command is easier/more direct than program in most languages, since "program" might mean a computer program or an event. But in case of command it just has a singular meaning.

@tldr-bot
Copy link

tldr-bot commented Nov 5, 2025

The build for this PR failed with the following error(s) at commit
bdc1311e90d6a50bcbd06972594aded05c833e6c:

pages/linux/cat.md:32:36 MD047/single-trailing-newline Files should end with a single newline character
pages/linux/cat.md:1: TLDR009 Page should contain a newline at end of file

Please fix the error(s) and push again.

@Managor Managor merged commit f09340f into main Nov 5, 2025
9 checks passed
@Managor Managor deleted the echo branch November 5, 2025 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

page edit Changes to an existing page(s). review needed Prioritized PRs marked for reviews from maintainers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants