64 lines
		
	
	
	
		
			571 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
	
		
			571 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| there
 | |
| one - alpha
 | |
| two - beta
 | |
| three - gamma
 | |
| hi\
 | |
| there$a
 | |
| stuff
 | |
| hi\
 | |
| there
 | |
| EO\
 | |
| F
 | |
| hi
 | |
| hi
 | |
| tab 1
 | |
| tab 2
 | |
| tab 3
 | |
| abc
 | |
| def ghi
 | |
| jkl mno
 | |
| fff is a function
 | |
| fff () 
 | |
| { 
 | |
|     ed /tmp/foo  > /dev/null <<ENDOFINPUT
 | |
| /^name/d
 | |
| w
 | |
| q
 | |
| ENDOFINPUT
 | |
| 
 | |
|     aa=1
 | |
| }
 | |
| fff is a function
 | |
| fff () 
 | |
| { 
 | |
|     ed /tmp/foo > /dev/null  <<ENDOFINPUT
 | |
| /^name/d
 | |
| w
 | |
| q
 | |
| ENDOFINPUT
 | |
| 
 | |
|     aa=1
 | |
| }
 | |
| foo is a function
 | |
| foo () 
 | |
| { 
 | |
|     echo;
 | |
|     cat  <<END
 | |
| bar
 | |
| END
 | |
| 
 | |
|     cat  <<EOF
 | |
| qux
 | |
| EOF
 | |
| 
 | |
| }
 | |
| 
 | |
| bar
 | |
| qux
 | |
| 
 | |
| bar
 | |
| qux
 | |
| comsub here-string
 | |
| ./heredoc.tests: line 100: warning: here-document at line 98 delimited by end-of-file (wanted `EOF')
 | |
| hi
 | |
| there
 | 
