#heredoc

JavaScriptBuzzJavaScriptBuzz
2026-03-01

Template Literals vs Heredoc: String Battle ROYALE!

JavaScript's template literals vs PHP's heredoc - which formatting is prettier? WTF!

youtube.com/watch?v=Q7Uw-2gmJaI

2026-02-19

Anyone who works with Rails has heard of and used the runner command (guides.rubyonrails.org/command) with a single-line code argument that executes in the application context.
While working on my application the other day, I needed to list all tables with their row counts.
The code for listing the number of table rows on a single line looks rather ugly and unmaintainable.

rails runner with multiline code
adingbatponder :nixos: ๐Ÿ‘พadingbatponder@fosstodon.org
2025-09-05

If a public foss repo offers a foss setup.sh command line script which, step by step, performs the installation / usage steps the repo readme lists for use at the command line to set up/use the code, what trust measures would you insist upon before downloading and before running the setup.sh script at your local command line? Is there a better way of offering an helpful automated but trustworthy #Heredoc than a scary .sh ?

#ShellProgramming #git #security #codeberg #shellscript #bourneshell

en.wikipedia.org/wiki/Here_doc
Am I the only one who reads #heredoc not as "Here Doc", but instead phonetically similar to heretic?

2023-12-01

Republished "Multistrings: a simple syntax for heredoc-style strings" (2023)

xtao.org/blog/multistrings.htm

#syntax #heredoc #multistrings #simple #idea #programming

๐Ÿ‡ช๐Ÿ‡บ Yet Another Owl๐Ÿ•ฏ๏ธ๐Ÿ•Š๏ธ61ennepi
2023-06-11

How to use heredoc as a text editor

Comunque usare un text editor vero รจ piรน pratico.

opensource.com/article/20/12/h

Jevko ๐ŸŒฒjevko@layer8.space
2023-03-04

this variant implementation is also whitespace-aware and trims text outside of heredocs -- useful for implementing data formats on top of it

#jevko #minimal #syntax #heredoc

ใ›ใถใ‚“7of9@qiitadon.com
2020-04-08

#bash #Heredoc

How to assign a heredoc value to a variable in Bash?
stackoverflow.com/questions/11

ideone.com/5P916s

ๆ”น่กŒใŒๆถˆใˆใ‚‹ใฎใ‹

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst