From 0056946e8a158ee7197f309cd3fa6dd7345e217e Mon Sep 17 00:00:00 2001 From: tlg Date: Tue, 24 Feb 2026 14:11:09 +0100 Subject: [PATCH] Added Shell-Scripts.md --- LLM-Instructions.md | 17 ++++++++++++++++- Shell-Scripts.md | 9 +++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 Shell-Scripts.md diff --git a/LLM-Instructions.md b/LLM-Instructions.md index dd439ad..44ed451 100644 --- a/LLM-Instructions.md +++ b/LLM-Instructions.md @@ -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. + diff --git a/Shell-Scripts.md b/Shell-Scripts.md new file mode 100644 index 0000000..4d7f623 --- /dev/null +++ b/Shell-Scripts.md @@ -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.