klotz: shell scripting*

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. Explores how to use the llm CLI tool within a script's shebang line by utilizing the env -S pattern. This approach allows plain text files to become executable via large language models, treating file contents as prompts. The article covers using flags like -f for fragments and -x for code extraction, integrating tools such as llm_time, and leveraging YAML templates with parameters or embedded Python tool functions to create highly functional scripts.
    Main topics:
    - Using env -S with the llm CLI
    - Making text files executable via LLM
    - Integrating tools within shebang lines
    - Utilizing YAML templates for prompts
    - Embedding Python functions in templates
  2. Quoting and escaping are important, as they influence the way Bash acts upon your input. There are three recognized types: per-character escaping using a backslash, weak quoting with double-quotes, and strong quoting with single-quotes.
    2026-01-14 Tags: , , , , by klotz
  3. Pnut is a transpiler that allows users to write shell scripts in C, which is then compiled into a POSIX-compliant shell script. It aims to simplify shell scripting by leveraging the familiarity of C.
    2024-07-25 Tags: , , , , by klotz

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: shell scripting

About - Propulsed by SemanticScuttle