matheusmello.io
BlogProduct ReleasesToolsBooksContact

heredoc

How does "cat << EOF" work in bash?
heredoc
September 2, 20231 min read

How does "cat << EOF" work in bash?

# How does "cat << EOF" work in bash? Have you ever come across the `cat << EOF` syntax in a bash script and wondered what it does? If so, you're not alone! This syntax, known as a "here document," is a powerful way to input multi-line strings or commands

heredoc
Creating multiline strings in JavaScript
heredoc
June 25, 20211 min read

Creating multiline strings in JavaScript

## Creating Multiline Strings in JavaScript: Simplified! 😎 So, a friend of mine recently came to me with a piece of code written in Ruby and asked for its JavaScript equivalent. The code included a multiline string. After some thought, I realized that th

heredocjavascriptmultiline
+1

About

Personal blog sharing insights on software engineering, technology, and developer productivity.

TwitterGitHubLinkedInEmail

Tags

Loading tags...

Subscribe to Updates

Get the latest posts delivered right to your inbox.

© 2025 MatheusMello.io. All rights reserved.