Added Shell-Scripts.md

This commit is contained in:
tlg
2026-02-24 14:11:09 +01:00
parent 3548dfd1d3
commit 0056946e8a
2 changed files with 25 additions and 1 deletions

View File

@@ -1,2 +1,17 @@
Please provide your results again as raw Markdown in a fenced code block. # Results as raw Markdown
## Tildes (~~~) (very high reliability)
"Provide your results as raw Markdown. Wrap the entire output inside a triple-tilde (~~~) code block. Do not use backticks for the outer wrapper."
## 4 Backticks (high reliability)
"Please provide your results again as raw Markdown. Wrap the entire response in a fenced code block using four backticks (````) so that the internal triple-backtick code blocks do not break the formatting."
## Not good
"Please provide your results again as raw Markdown in a fenced code block."
Only works with Gemini; Perplexity and ChatGPT fail at the first source code block.

9
Shell-Scripts.md Normal file
View File

@@ -0,0 +1,9 @@
# Insert line(s) at certain position in existing file
## Motivation
A Debian 12 Linux bash shell script is needed which inserts line(s) of text at a certain position in an existing file. The position is defined by text of the existing file.
## Task
Generate an example shell script and explain in detail what it is doing.