Output, Assign, Pipe and Redirect a Heredoc in a Shell Script

Описание к видео Output, Assign, Pipe and Redirect a Heredoc in a Shell Script

You may want to use this when working with multi-line strings or strings with mixed quotes.

Hit the subscribe button to receive more videos like this!

REFERENCE LINKS
---------------------------------------------------
► https://nickjanetakis.com/blog/output...
► https://stackoverflow.com/a/1655389

COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.

► https://nickjanetakis.com/courses/

THE TOOLS I USE / GEAR
---------------------------------------------------
► https://nickjanetakis.com/blog/the-to...

FOLLOW ME ELSEWHERE
---------------------------------------------------
► Twitter:   / nickjanetakis  
► GitHub: https://github.com/nickjj

TIMESTAMPS
---------------------------------------------------
0:00 -- Intro
0:20 -- A run down on heredocs
2:56 -- Avoiding variable or expression interpolation
4:31 -- Assigning a multi-line string to a variable with cat vs read
7:19 -- Piping a heredoc to another command as input
8:20 -- Piping things into kubectl where it expects a file as input
10:04 -- Doing the same as before but with curl
11:14 -- Redirecting a multi-line string to a file

Комментарии

Информация по комментариям в разработке