heredoc

heredoc
1 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
1 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