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

Add sed testcase #25

Merged
merged 1 commit into from
May 13, 2021
Merged

Add sed testcase #25

merged 1 commit into from
May 13, 2021

Conversation

saswatamcode
Copy link
Collaborator

This PR adds in usage of sed with mdox-gen-exec as a testcase and mentions this in README as it's a common use case, as discussed in #19. 🙂
Resolves #18.

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
@saswatamcode saswatamcode self-assigned this May 13, 2021
Copy link
Owner

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

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

It works! 🙈 LGTM, just yolo idea.

```

```bash mdox-gen-exec="sed -n '1,3p' ./testdata/out3.sh"
Copy link
Owner

Choose a reason for hiding this comment

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

Since we actually need only exec, wonder, do you think just mdox= or mdox-exec= would do the work? No need for gen then? (:

@bwplotka bwplotka merged commit d80a4ac into bwplotka:main May 13, 2021
@saswatamcode saswatamcode mentioned this pull request May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add mdox-gen-file to allow fetching from file
2 participants