[ BUG ] Insert does not work on MacOS 10.15.7 zsh
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- macos, shell, zsh
- Domain
- cli, operating-systems
Research direction
Start at the gh-md-toc --insert entry point and reproduce the command against Readme.md on macOS 10.15.7 with zsh. Compare the failing grep -Fxq check with the working grep -F form; done means the insert command recognizes the existing and markers.
Written by the indexing model from the issue text.
Description
Describe the bug
When running gh-md-toc --insert ./Readme.md i get
You don't have <!--ts--> or <!--te--> in your file...exiting
It seems this comes down to this command not working
kyle@Emilys-MacBook-Pro kubectl-opslevel % grep -Fxq "<\!--ts-->" Readme.md
but this one does
kyle@Emilys-MacBook-Pro kubectl-opslevel % grep -F "<\!--ts-->" Readme.md
<!--ts-->
Notice the arguments to grep. I'm using zsh (the macos native shell now - not sure if that has an impact)
- Dominant language
- Shell
- Stars
- 3.3k
- Forks
- 2.7k
- Avg merge
- 7m
- Merged PRs (30d)
- 3
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ekalinin/github-markdown-toc
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ekalinin/github-markdown-toc#167 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ekalinin/github-markdown-toc#165 ·
-
[Feature] `--no-code-tag-removal` flag allowing to make removal of backticks in TOC entries optionalOpenenhancement
Difficulty 3/5 1-2 days Newbie friendliness 58/100
ekalinin/github-markdown-toc#153 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ekalinin/github-markdown-toc#152 · 1 reaction ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ekalinin/github-markdown-toc#141 ·
All issues in ekalinin/github-markdown-toc
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
backlog bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
WLAN-Pi/wlanpi-profiler#306 ·
Maintainers usually reply within 1 day
-
area: backend good first issue priority: P3 - low size: S type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Mizithra/ActiveTerrain#31 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
obra/superpowers#2422 ·
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ComplianceAsCode/content#15152 ·
Maintainers usually reply within 2 days