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

man page podman-completion.1.html: incorrect quotes in command ( instead of ") #20217

Closed
eriksjolund opened this issue Sep 30, 2023 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@eriksjolund
Copy link
Contributor

eriksjolund commented Sep 30, 2023

Issue Description

Non-standard quotes are used for shell terminal commands in the man page https://docs.podman.io/en/stable/markdown/podman-completion.1.html

For instance:

echo “autoload -U compinit; compinit” >> ~/.zshrc

Steps to reproduce the issue

Steps to reproduce the issue

  1. curl -s https://docs.podman.io/en/stable/markdown/podman-completion.1.html | grep 'echo “autoload'
  2. curl -s https://docs.podman.io/en/stable/markdown/podman-completion.1.html | grep 'echo "autoload'

Describe the results you received

$ curl -s https://docs.podman.io/en/stable/markdown/podman-completion.1.html | grep 'echo “autoload'        
<strong>echo “autoload -U compinit; compinit” &gt;&gt; ~/.zshrc</strong></p>
$ curl -s https://docs.podman.io/en/stable/markdown/podman-completion.1.html | grep 'echo "autoload' 
$

Describe the results you expected

$ curl -s https://docs.podman.io/en/stable/markdown/podman-completion.1.html | grep 'echo “autoload' 
$ curl -s https://docs.podman.io/en/stable/markdown/podman-completion.1.html | grep 'echo "autoload'      
<strong>echo "autoload -U compinit; compinit" &gt;&gt; ~/.zshrc</strong></p>
$

podman info output

macOS Ventura 13.6

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

@eriksjolund eriksjolund added the kind/bug Categorizes issue or PR as related to a bug. label Sep 30, 2023
@Luap99
Copy link
Member

Luap99 commented Oct 2, 2023

This was fixed in #19484.
The latest docs should display it correctly so you can copy and paste

@Luap99 Luap99 closed this as completed Oct 2, 2023
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Jan 1, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

2 participants