Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

$(cat <

# Here Documents
This type of redirection instructs the shell to read input from the current source until a line containing only word (with no trailing blanks) is seen.
All of the lines read up to that point are then used as the standard input for a command.
The format of here-documents is

<<[-]word
    here-document
delimiter
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #heredoc #assign #command #variable
ADD COMMENT
Topic
Name
1+2 =