Added Shell-Scripts.md
This commit is contained in:
@@ -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
9
Shell-Scripts.md
Normal 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.
|
||||||
Reference in New Issue
Block a user