[ BUG ] Works on Linux but finding place holders fail on Darwin
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start with the gh-md-toc entry point and reproduce the three failing commands on Darwin using the supplied README example. Inspect the placeholder-detection and sed-related paths, then verify that all commands handle README.md correctly on Darwin without regressing Linux behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
./gh-md-toc --insert --no-backup --hide-footer --skip-header README.md
./gh-md-toc --no-backup --hide-footer --skip-header README.md
./gh-md-toc --hide-footer --skip-header README.md
The above commands all work on Linux but not Mac.
➜ cat README.md
My readme: https://github.com/sourcenetwork/defradb/blob/c1b612ea28b866093da2d7d1f473ea9de1072a93/README.md
➜ ./gh-md-toc --insert --no-backup --hide-footer --skip-header README.md
Table of Contents
=================
* [Table of Contents](#table-of-contents)
* [Install](#install)
* [Key Management](#key-management)
* [Start](#start)
* [Configuration](#configuration)
* [External port binding](#external-port-binding)
* [Add a schema type](#add-a-schema-type)
* [Create a document](#create-a-document)
* [Query documents](#query-documents)
* [Obtain document commits](#obtain-document-commits)
* [DefraDB Query Language (DQL)](#defradb-query-language-dql)
* [Peer-to-peer data synchronization](#peer-to-peer-data-synchronization)
* [Securing the HTTP API with TLS](#securing-the-http-api-with-tls)
* [Access Control System](#access-control-system)
* [Supporting CORS](#supporting-cors)
* [Backing up and restoring](#backing-up-and-restoring)
* [Community](#community)
* [Licensing](#licensing)
* [Contributors](#contributors)
You don't have <!--ts--> or <!--te--> in your file...exiting
make[1]: *** [toc] Error 1
make: *** [docs] Error 2
Moreover, even without the --insert the command fails: ./gh-md-toc --no-backup --hide-footer --skip-header README.md
Table of Contents
=================
* [Table of Contents](#table-of-contents)
* [Install](#install)
* [Test Title](#test-title)
* [Key Management](#key-management)
* [Start](#start)
* [Configuration](#configuration)
* [External port binding](#external-port-binding)
* [Add a schema type](#add-a-schema-type)
* [Create a document](#create-a-document)
* [Query documents](#query-documents)
* [Obtain document commits](#obtain-document-commits)
* [DefraDB Query Language (DQL)](#defradb-query-language-dql)
* [Peer-to-peer data synchronization](#peer-to-peer-data-synchronization)
* [Securing the HTTP API with TLS](#securing-the-http-api-with-tls)
* [Access Control System](#access-control-system)
* [Supporting CORS](#supporting-cors)
* [Backing up and restoring](#backing-up-and-restoring)
* [Community](#community)
* [Licensing](#licensing)
* [Contributors](#contributors)
You don't have <!--ts--> or <!--te--> in your file...exiting
make[1]: *** [toc] Error 1
make: *** [docs] Error 2
And lastly also without both --insert and --no-backup flags: ./gh-md-toc --hide-footer --skip-header README.md:
Table of Contents
=================
* [Table of Contents](#table-of-contents)
* [Install](#install)
* [Test Title](#test-title)
* [Key Management](#key-management)
* [Start](#start)
* [Configuration](#configuration)
* [External port binding](#external-port-binding)
* [Add a schema type](#add-a-schema-type)
* [Create a document](#create-a-document)
* [Query documents](#query-documents)
* [Obtain document commits](#obtain-document-commits)
* [DefraDB Query Language (DQL)](#defradb-query-language-dql)
* [Peer-to-peer data synchronization](#peer-to-peer-data-synchronization)
* [Securing the HTTP API with TLS](#securing-the-http-api-with-tls)
* [Access Control System](#access-control-system)
* [Supporting CORS](#supporting-cors)
* [Backing up and restoring](#backing-up-and-restoring)
* [Community](#community)
* [Licensing](#licensing)
* [Contributors](#contributors)
You don't have <!--ts--> or <!--te--> in your file...exiting
➜ ./gh-md-toc --version
0.10.0
os: Darwin
arch: arm64
kernel: 23.4.0
shell: GNU bash, version 5.2.26(1)-release (aarch64-apple-darwin23.2.0)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
curl : curl 8.4.0 (x86_64-apple-darwin23.0) libcurl/8.4.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.58.0
wget : not installed
grep : grep (BSD grep, GNU compatible) 2.6.0-FreeBSD
awk : awk version 20200816
sed : sed: illegal option -- -
usage: sed script [-Ealnru] [-i extension] [file ...]
sed [-Ealnu] [-i extension] [-e script] ... [-f script_file] ... [file ...]
- Lenguaje dominante
- Shell
- Estrellas
- 3.3k
- Forks
- 2.7k
- Merge medio
- 20 min
- PR fusionados (30 d)
- 7
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ekalinin/github-markdown-toc
-
Update bats version in CIAbierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
ekalinin/github-markdown-toc#176 ·
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
ekalinin/github-markdown-toc#165 ·
-
[Feature] `--no-code-tag-removal` flag allowing to make removal of backticks in TOC entries optionalAbiertoenhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
ekalinin/github-markdown-toc#153 ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
ekalinin/github-markdown-toc#141 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
ekalinin/github-markdown-toc#139 ·
Todos los issues de ekalinin/github-markdown-toc
Issues similares
-
area/documentation squad/marvin
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
rancher/stackstate-product-docs#443 ·
Los mantenedores suelen responder en 1 día
-
Request: Remove Sikka appAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
getumbrel/umbrel-apps#6142 ·
Los mantenedores suelen responder en 2 días
-
triage/confirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
agentscope-ai/agentscope#3030 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
WingedGuardian/GENesis-AGI#2599 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
petry-projects/.github-private#1981 · 1 comentario ·
Los mantenedores suelen responder en 1 día