Knowledge (XXG)

Here document

Source 📝

1251:, but using single quotes doesn't, and using the tag without either behaves like double quotes. Using backticks as the delimiters around the tag runs the contents of the heredoc as a shell script. It is necessary to make sure that the end tag is at the beginning of the line or the tag will not be recognized by the interpreter. 3295:, any input line which does not begin with a $ symbol is implicitly treated as input to the preceding command - all lines which do not begin with $ are here-documents. The input is either passed to the program, or can be explicitly referenced by the logical name SYS$ INPUT (analogous to the Unix concept of 1745:
parse error will result at the last line of the script. However, from version 7.3, it is no longer required that the closing identifier be followed by a semicolon or newline. Additionally the closing identifier may be indented, in which case the indentation will be stripped from all lines in the doc string.
573:(a sequence treated as a unit by the shell, in this context generally a string literal). In this case the usual shell syntax is used for the word (“here string syntax”), with the only syntax being the redirection: a here string is an ordinary string used for input redirection, not a special kind of string. 1744:
In PHP versions prior to 7.3, the line containing the closing identifier must not contain any other characters, except an optional ending semicolon. Otherwise, it will not be considered to be a closing identifier, and PHP will continue looking for one. If a proper closing identifier is not found, a
3953:
In more detail, in bash: “all lines of the here-document are subjected to parameter expansion, command substitution, and arithmetic expansion. In the latter case, the character sequence \newline is ignored, and ‘\’ must be used to quote the characters ‘\’, ‘$ ’, and ‘`’.”. Note that
219:), followed, starting on the next line, by the text to be quoted, and then closed by the same delimiting identifier on its own line. This syntax is because here documents are formally stream literals, and the content of the here document is often redirected to 340:
This can be disabled by quoting any part of the label, which is then ended by the unquoted value; the behavior is essentially identical to that if the contents were enclosed in single quotes. Thus for example by setting it in single quotes:
1634:. In PHP heredocs are not string literals. Heredoc text behaves just like a double-quoted string, but without the double quotes. For example, meaning `$ ` will be parsed as a variable start, and `$ {` or `{$ ` as a complex variable start. 1200:
in Ruby. As an inline file, these are semantically similar to here documents, though there can be only one per script. However, in these languages the term "here document" instead refers to multiline string literals, as discussed below.
1246:
In Perl there are several different ways to invoke here docs. The delimiters around the tag have the same effect within the here doc as they would in a regular string literal: For example, using double quotes around the tag allows
1082:
does not have file literals, but provides equivalent functionality by combining string literals with a string-to-file function. R allows arbitrary whitespace, including newlines, in strings. A string then can be turned into a
2574:
In the first case, the lines of text follow and are combined into a pseudo file with the DD name SYSIN. All records following the command are combined until either another OS/JCL command occurs (any line beginning with
744:
The key difference from here documents is that, in here documents, the delimiters are on separate lines; the leading and trailing newlines are stripped. Unlike here documents, here strings do not use delimiters.
2923:(displayln @string-append{ This is a long string, very convenient when a long chunk of text is needed. No worries about escaping "quotes" or \escapes. It's also okay to have λ, γ, θ, ... Embed code: 3873: 1966:
As with Unix shells, Ruby also allows for the delimiting identifier not to start on the first column of a line, if the start of the here document is marked with the slightly different starter
3016:) on a line by itself, which terminates the string. All characters between the open and close delimiter are considered the string literal. Using a here-string with double quotes allows 391:) has the effect that leading tabs are ignored. This allows indenting here documents in shell scripts (primarily for alignment with existing indentation) without changing their value: 3343:) can be used to supply input to the preceding command. The input deck is ended either by the command $ EOD, or the character pattern specified by the /DOLLARS parameter to DECK. 3599: 303:
was used as the delimiting identifier. It specified the start and end of the here document. The redirect and the delimiting identifier do not need to be separated by a space:
257:
Narrowly speaking, here documents are file literals or stream literals. These originate in the Unix shell, though similar facilities are available in some other languages.
1188:
and the start of the data segment. Only the contents prior to this line are executed, and the contents of the source file after this line are available as a file object:
237:
Other languages often use substantially similar syntax, but details of syntax and actual functionality can vary significantly. When used simply for string literals, the
318:
By default, behavior is largely identical to the contents of double quotes: variable names are replaced by their values, commands within backticks are evaluated, etc.
3800: 3542: 2152:
supports multi-line strings as a "verbatim" string. They may be enclosed in 3 single (') or double (") quotation marks, the latter is shown in the examples below.
937:: the first notation creates a temporary file, the second notation creates (or overwrites) the file with the specified pathname. An inline file is terminated with 3983:. This perhaps surprising behavior is however easily implemented in a shell, by the tokenizer simply recording a token was quoted (during the evaluation phase of 2607:
sequence (such as comments in C or C++ source code). The following compiles and executes an assembly language program, supplied as in-line data to the assembler.
1792:
In PHP 5.3+ it is also possible to surround the tag with double quotes, which like Perl has the same effect as not surrounding the tag with anything at all.
2595:
the DLM= operand is used to specify the text string signalling end of data, which can be used if a data stream contains JCL (again, any line beginning with
1229:
in various programming languages, notably Perl (syntax influenced by Unix shell), and languages influenced by Perl, notably PHP and Ruby. The shell-style
3869: 3958:
has no special meaning in a here document and does not need to be escaped, unlike in a double-quoted string; otherwise they are essentially identical.
2784:
No escape sequences are recognized between the starting and terminating lines; all characters are included in the string (and terminator) literally.
1254:
Note that the here doc does not start at the tag—but rather starts on the next line. So the statement containing the tag continues on after the tag.
4055: 4067: 3697: 372:
occur in a here document with double-quoted delimiter. Single- and double-quoted delimiters are distinguished in some other languages, notably
3742: 2721:
line and a line whose only content is the specified terminator. More precisely, the content of the string starts after a newline following
271:
command (transliterating lower to upper-case) using a here document. This could be in a shell file, or entered interactively at a prompt.
1748:
In PHP 5.3 and later, like Perl, it is possible to not interpolate variables by surrounding the tag with single quotes; this is called a
3919: 3254:>> $ marty : Wait a minute. Wait a minute. Doc... Are you telling me that it's $ (($ time + $ diff).ToShortTimeString())? 3199:>> $ marty : Wait a minute. Wait a minute. Doc... Are you telling me that it's $ (($ time + $ diff).ToShortTimeString())? 4153: 3595: 3673: 4042: 3621: 2984:
An @-expression is not specific nor restricted to strings, it is a syntax form that can be composed with the rest of the language.
810:
however here strings are particularly useful when the last command needs to run in the current process, as is the case with the
4148: 3275:$ marty : Wait a minute. Wait a minute. Doc... Are you telling me that it's $ (($ time + $ diff).ToShortTimeString())? 3898: 2717:
followed by characters that define a terminator for the string. The content of the string includes all characters between the
3792: 3339:
Additionally, the DECK command, initially intended for punched card support (hence its name: it signified the beginning of a
63: 3125:
Here is an example that demonstrates variable interpolation and statement execution using a here-string with double quotes:
3571: 4109: 2706: 2149: 166: 4097: 4082: 3538: 170: 150: 3997:
as the ending delimiter, which is similar to a multiline string literal but stripping starting and ending linebreaks.
3657: 3717: 1091:
function. For example, the following turns a data table embedded in the source code into a data-frame variable:
750: 3292: 2433: 2281: 1079: 241:
does not indicate indirection, but is simply a starting delimiter convention. In some languages, such as Ruby,
3251:>> $ doc : Perfect! My experiment worked! They're all exactly $ ($ diff.Minutes) minutes slow. 3196:>> $ doc : Perfect! My experiment worked! They're all exactly $ ($ diff.Minutes) minutes slow. 2532:
operating systems, data which is inline to a job stream can be identified by an * on a DD statement, such as
4006:
Note that while tabs can typically be entered in editors, at the command line they are typically entered by
227: 3021: 3017: 2838:
In the next line comes the terminator. It can contain any Unicode symbol as well, even spaces and smileys!
2813:
In the next line comes the terminator. It can contain any Unicode symbol as well, even spaces and smileys!
1602:
In addition to these strings, Perl also features file literals, namely the contents of the file following
185: 82:
that use similar syntax, preserving line breaks and other whitespace (including indentation) in the text.
2011:
Ruby expands on this by providing the "<<~" syntax for omitting indentation on the here document:
1970:. Besides, Ruby treats here documents as a double-quoted string, and as such, it is possible to use the 4052: 3645: 3738: 748:
Here strings are particularly useful for commands that often take short input, such as the calculator
4064: 3694: 3354:
Would produce the following output (presuming ADD_SUMS was written to read the values and add them):
2521: 2436:
has support for here document-style strings using the 'q' prefix character. These strings begin with
1248: 189: 158: 3272:$ doc : Perfect! My experiment worked! They're all exactly $ ($ diff.Minutes) minutes slow. 3423: 511:
ECHO BUT BECAUSE THE LINE WITH THE DELIMITING IDENTIFIER BEGAN WITH A TAB IT WAS NOT RECOGNIZED AND
181: 138: 265:
Here documents are available in many Unix shells. In the following example, text is passed to the
3051:
In the following PowerShell code, text is passed to a function using a here-string. The function
2591:) is found, or the physical end of data occurs. In the second case, the conditions are the same, 775:
Note that here string behavior can also be accomplished (reversing the order) via piping and the
3220:
Marty McFly : Wait a minute. Wait a minute. Doc... Are you telling me that it's 08:25?
3217:
Dr. Emmett Brown : Perfect! My experiment worked! They're all exactly 25 minutes slow.
2508:
D also supports a few quoting delimiters, with similar syntax, with such strings starting with
3771: 552: 122: 3923: 3984: 3296: 1521:
The tag itself may contain whitespace, which may allow heredocs to be used without breaking
2180:
From Python 3.6 onwards, verbatim f-strings support variable and expression interpolation.
4113: 4101: 4086: 4071: 4059: 4046: 3701: 3516: 1210: 1084: 3669: 1974:
construct to interpolate code. The following example illustrates both of these features:
908:
to run in a subprocess, and as such cannot affect the environment of the parent process.
4039: 3625: 925: 4021: 2339:, C++ supports string literals with custom delimiter ("my_delimiter" in this example): 1226: 777: 79: 3422:
YAML primarily relies on whitespace indentation for structure, making it resistant to
180:
Here documents can be treated either as files or strings. Some shells treat them as a
4142: 2129:
As with Perl, Ruby features file literals, namely the contents of the file following
75: 3971:
is used, this is quoted, so variable interpolation does not occur, and it ends with
2440:
followed immediately by a newline (for an arbitrary identifier IDENT), and end with
1880:
for input redirection, so redirecting to a file from a here document involves using
364:
Double quotes may also be used, but this is subject to confusion, because expansion
4132: 3894: 3340: 2138: 1619: 1522: 1185: 1173: 90: 67: 4094: 4024:, and in the example they are actual tabs, so the example can be copy and pasted. 3231:
Using a here-string with single quotes instead, the output would look like this:
2582: 812: 380: 249:
being used twice if one wishes to redirect from a here document string literal.
71: 4106: 3563: 1114:
Arkansas 2110 3378 1.9 70.66 10.1 39.9 65"
1102:"State Population Income Illiteracy Life.Exp Murder HS.Grad Frost 461:
butbecausethelinewiththedelimitingIdentifierbeganwithaTABitwasNOTrecognizedand
223:(standard input) of the preceding command or current shell script/executable. 4079: 3845: 2993: 208: 162: 154: 86: 1513:"This is the beginning:\nthis is the middle\nAnd now it is over!\n" 1172:
Perl and Ruby have a form of file literal, which can be considered a form of
917: 556: 484:
THIS LINE BEGINS WITH A SINGLE TAB CHARACTER I.E 0X09 AS DOES THE NEXT LINE
415:
This line begins with a single TAB character i.e 0x09 as does the next line
266: 205: 114: 31: 1876:
in a here document does not indicate input redirection, but Ruby also uses
941:
on a line by itself, optionally followed by the (case-insensitive) keyword
502:
THIS LINE BEGINS WITH A SINGLE TAB CHARACTER I.E 0X09 AS DOES THE NEXT LINE
449:
This line begins with a single TAB character i.e 0x09 as does the next line
27:
Section of a source code file that is treated as if it were a separate file
2843:
Here strings can be used normally in contexts where normal strings would:
1800:
The following Ruby code displays a grocery list by using a here document.
200:
The most common syntax for here documents, originating in Unix shells, is
145:(syntax inspired by Unix shell) and languages influenced by Perl, such as 137:), among others. Here document-style string literals are found in various 3426:
and capable representing multi-line strings with folded string literals:
2059:
Like Perl, Ruby allows for starting multiple here documents in one line:
1739:
Hey Joe Smith! You can actually assign the heredoc section to a variable!
1111:
Arizona 2212 4530 1.8 70.55 7.8 58.1 15
1108:
Alaska 365 6315 1.5 69.31 11.3 66.7 152
1105:
Alabama 3615 3624 2.1 69.05 15.1 41.3 20
4128: 3364:
Example of using DECK /DOLLARS to create one command file from another:
2512:
or similarly for other delimiter character (any of () <> {} or ).
2336: 2330: 1233:
syntax is often retained, despite not being used for input redirection.
376:(see below), where behavior parallels the corresponding string quoting. 3248:>> $ marty : Yeah! Uh, it's $ ($ time.Hour) o'clock! 3193:>> $ marty : Yeah! Uh, it's $ ($ time.Hour) o'clock! 2277: 499:
A SINGLE SPACE CHARACTER (I.E. 0X20 ) IS AT THE BEGINNING OF THIS LINE
481:
A SINGLE SPACE CHARACTER (I.E. 0X20 ) IS AT THE BEGINNING OF THIS LINE
446:
A single space character (i.e. 0x20 ) is at the beginning of this line
412:
A single space character (i.e. 0x20 ) is at the beginning of this line
130: 98: 17: 3713: 1702:
Hey $ name! You can actually assign the heredoc section to a variable!
2424:
Start of string. New line slash \ quote " ' parens ) ( End of string
1225:
The term "here document" or "here string" is also used for multiline
226:
The here document syntax is analogous to the shell syntax for input
2725:, and it ends before a newline that is followed by the terminator. 703:
Note that leading and trailing newlines, if present, are included:
3511: 1553:
Although since Perl version 5.26, heredocs can include indention:
920: 220: 3000:. A here-string is a string which starts with an open delimiter ( 3739:"Perl5260delta - what is new for perl v5.26.0 - Perldoc Browser" 2529: 2039:
The common indentation of two spaces is omitted from all lines:
142: 106: 3821: 3302:
For instance, explicitly referencing the input as SYS$ INPUT:
3269:$ marty : Yeah! Uh, it's $ ($ time.Hour) o'clock! 2525: 1733:
For more information talk to Joe Smith, your local Programmer.
560: 174: 146: 1678:
For more information talk to $ name, your local $ occupation.
1610:) on a line by itself. This is accessible as the file object 1558:#prints "Hello there\n" with no leading whitespace. 531:> A single tab character is at the beginning of this line. 3488:<blockquote style="font: italic 12pt Times"> 2905:
An interesting alternative is to use the language extension
1433:
It is possible to start multiple heredocs on the same line:
2133:
on a line by itself. This is accessible as the file object
2003:
It's #{now.hour} o'clock John, where are your kids?
904:
This happens because in the previous example piping causes
4135:
task with examples of here documents in over 15 languages.
3987:), without needing to preserve the original, quoted value. 3036:). You can execute a set of statements by putting them in 3763: 3350:$ RUN ADD_SUMS.EXE $ DECK $ 13.53 $ 3.33 $ 2.33 $ EOD 1213:, all major web browsers understand URIs that start with 3260:>> $ marty : Damn! I'm late for school! 3205:>> $ marty : Damn! I'm late for school! 245:
is also used for input redirection, thus resulting in
234:
followed by the name of the file to be used as input.
3539:"Here-Document description in the POSIX/SUS standard" 1393:
And an example with backticks (may not be portable):
949:
to indicate whether the created file should be kept.
3214:
Marty McFly : Yeah! Uh, it's 8 o'clock!
600:
In case of a string with spaces, it must be quoted:
3346:Example of a program totalling up monetary values: 3211:
Dr. Emmett Brown : Are those my clocks I hear?
2924: 2912: 2693: 2692:Indicating s stream of data follows, terminated by 2687: 2672: 2602: 2596: 2586: 2576: 2548: 2533: 2377:
slash \ quote " ' parens ) ( End of string
564: 388: 384: 311: 305: 3245:>> $ doc : Are those my clocks I hear? 3226:Marty McFly : Damn! I'm late for school! 3190:>> $ doc : Are those my clocks I hear? 2897:Thanks for the insightful conversation yesterday. 3491:<p>"Three is always greater than two, 383:but not csh/tcsh, appending a minus sign to the 78:. The term is also used for a form of multiline 1775:I wish you to leave Sunnydale and never return. 1382:I wish you to leave Sunnydale and never return. 1360:I wish you to leave Sunnydale and never return. 1329:I wish you to leave Sunnydale and never return. 1307:I wish you to leave Sunnydale and never return. 74:file that is treated as if it were a separate 3281:$ marty : Damn! I'm late for school! 3163:'Friday, October 25, 1985 8:00:00 AM' 2909:to write @-expressions. They look like this: 177:have other facilities for multiline strings. 8: 3494:even for large values of two"</p> 670:Multiline strings are acceptable, yielding: 508:ECHO THE INTENDED END WAS BEFORE THIS LINE, 353:> \$ Working dir "$ PWD" `pwd` 327:> \$ Working dir "$ PWD" `pwd` 2686:statement is the functional equivalent of 3398:This is an example of using DECK to create 2866:Thanks for the insightful conversation ~a. 2166:Customer: Not much of a cheese shop is it? 1630:In PHP, here documents are referred to as 563:) is syntactically similar, consisting of 368:occur in a double-quoted string, but does 3401:a command file from within a command file 2169:Shopkeeper: Finest in the district , sir. 1176:. In these languages, including the line 514:ECHO THE TR COMMAND CONTINUED PROCESSING. 4016: 4012: 4008: 3846:"Text Blocks (JEP 378) - javaalmanac.io" 3590: 3588: 3476:HTML goes into YAML without modification 3266:$ doc : Are those my clocks I hear? 2973:"quotes" or \escapes. It's 2835:So things like λ, ☠, α, β, are all fine. 2810:So things like λ, ☠, α, β, are all fine. 2276:Text blocks are supported starting with 3946: 3533: 3531: 3527: 2770:This is a simple here string in Racket. 2745:This is a simple here string in Racket. 1340:Here is an example with single quotes: 1257:Here is an example with double quotes: 569:, and effects input redirection from a 359:\$ Working dir "$ PWD" `pwd` 161:, a feature added in its 6th revision ( 3979:is used, this is quoted and ends with 1184:(Ruby, old Perl) marks the end of the 519:Another use is to output to a file: 165:). Other high-level languages such as 3870:"Here string in Racket Documentation" 3658:Using variables inside a bash heredoc 487:The intended end was before this line 157:also supports this functionality via 7: 3993:as the starting delimiter, and thus 2996:, here documents are referred to as 2829:This string spans for multiple lines 2804:This string spans for multiple lines 1271:"Buffy the Vampire Slayer" 923:, here documents are referred to as 3967:“Quoting” includes escaping, so if 3497:<p>--Author Unknown</p> 3024:occurs with simple variables (e.g. 3008:) and ends with a close delimiter ( 2832:and can contain any Unicode symbol. 2807:and can contain any Unicode symbol. 3895:"@ Syntax in Racket Documentation" 3334:to the screen by the TYPE command. 3317:to the screen by the TYPE command. 3223:Dr. Emmett Brown : Precisely. 2801:#<<A here string in Racket ☺ 2051:This line is indented four spaces. 2028:This line is indented four spaces. 576:A single word need not be quoted: 528:> 3 spaces precede this text. 490:and these were not processed by tr 25: 3331:This text will be directly echoed 3314:This text will be directly echoed 2054:This line is indented six spaces. 2048:This line is indented two spaces. 2031:This line is indented six spaces. 2025:This line is indented two spaces. 1618:, and can be viewed as a form of 929:. Inline files are referenced as 457:Theintendedendwasbeforethisline, 3257:>> $ doc : Precisely. 3202:>> $ doc : Precisely. 2331:C++11 § New string literals 1453:"this is the middle\n" 526:cat<<EOF>~/testFile001 423:Theintendedendwasbeforethisline 85:Here documents originate in the 3901:from the original on 2012-01-22 3876:from the original on 2011-09-03 3803:from the original on 2012-07-03 3774:from the original on 2012-07-12 3745:from the original on 2024-05-13 3720:from the original on 2012-07-17 3714:"Perl operators and precedence" 3676:from the original on 2017-12-23 3602:from the original on 2019-07-01 3574:from the original on 2020-06-29 3545:from the original on 2014-04-27 3020:, using single quotes doesn't. 2307:<p>Hello, world</p> 2137:and can be viewed as a form of 626:This could also be written as: 3622:"Shell Here Document Overview" 3564:"Here document - Rosetta Code" 3287:DIGITAL Command Language (DCL) 2976:also okay to have λ, γ, θ, ... 2106:# this equals this expression: 534:>Nothing precedes this text 70:literal: it is a section of a 1: 4080:Advanced Bash-Scripting Guide 427:andthesewerenotprocessedbytr 3670:"perldata: Special Literals" 3046:$ (Get-Process | Out-String) 2112:"This is the beginning: 2076:"<--- middle ---> 1884:twice, in different senses: 1249:variables to be interpolated 1053:3 command3<<filename3 1020:2 command2<<filename2 3920:"HP OpenVMS DCL Dictionary" 3624:. hccfl.edu. Archived from 3018:variables to be interpreted 4170: 4095:Chapter 19. Here Documents 3989:One application is to use 3145:'Dr. Emmett Brown' 2524:(JCL) used on its earlier 2328: 1730:This is a heredoc section. 1675:This is a heredoc section. 4154:String (computer science) 2970:No worries about escaping 2816:A here string in Racket ☺ 2374:Start of string. New line 2124:And now it is over!" 1221:Multiline string literals 373: 143:Perl programming language 3428: 3413:!othercommandsfollow... 3366: 3356: 3348: 3328: 3304: 3233: 3127: 3057: 2955: 2891: 2845: 2826: 2786: 2767: 2727: 2609: 2446: 2444:at the start of a line. 2341: 2286: 2215:Customer: Not much of a 2182: 2154: 2061: 2046:rubyindented-heredoc.rb 2041: 2013: 1976: 1901:"grocery-list" 1886: 1842: 1802: 1754: 1727: 1636: 1555: 1527: 1504:# this is equivalent to: 1435: 1395: 1376: 1342: 1335:Buffy the Vampire Slayer 1323: 1259: 1209:As further explained in 1093: 951: 862: 818: 783: 756: 705: 672: 628: 602: 578: 521: 475: 396: 343: 320: 315:both work equally well. 295:ONETWOTHREE FOURFIVESIX 273: 3793:"PHP: Strings - Manual" 3764:"Heredoc in PHP manual" 3278:$ doc : Precisely. 3111:>> eins zwei drei 3055:is defined as follows: 875:'one two three' 827:'one two three' 792:'one two three' 640:'one two three' 618:'one two three' 478:HERE DOC WITH <<- 409:Here doc with <<- 89:, and are found in the 4149:Programming constructs 3822:"JEP 378: Text Blocks" 3596:"Darwin tcsh man page" 3464:"2007-06-01" 3108:>> one two three 3022:Variable interpolation 2961:very convenient when a 2958:This is a long string, 2260:in the district , sir. 2118:<--- middle ---> 2094:This is the beginning: 1660:"Programmer" 860:yields nothing, while 496:HERE DOC WITH << 443:Here doc with << 334:"/home/user" 4040:Bash Reference Manual 3151:'Marty McFly' 2964:long chunk of text is 2878:"yesterday" 2624:'ALEX HARRIS' 1648:"Joe Smith" 1401:$ shell_script_stdout 469:continuedprocessing. 394:A script containing: 186:variable substitution 4053:3.6.6 Here Documents 3646:3.6.6 Here Documents 2522:Job Control Language 1847:rubygrocery-list.rb 192:inside the literal. 190:command substitution 139:high-level languages 3500:</blockquote> 3424:delimiter collision 3099:ConvertTo-UpperCase 3066:ConvertTo-UpperCase 3053:ConvertTo-UpperCase 2742:#<<HERESTRING 2432:Since version 2.0, 2100:And now it is over! 987:1 command1<< 962:0 command0<< 692:> two three' 4112:2018-02-07 at the 4107:19.1. Here Strings 4100:2013-08-28 at the 4085:2013-08-14 at the 4070:2018-07-14 at the 4065:3.6.7 Here Strings 4058:2018-07-14 at the 4045:2018-07-14 at the 3700:2017-07-11 at the 3322:!othercommands... 2988:Windows PowerShell 2316:""" 2298:""" 2263:""" 2212:""" 2200:"finest" 2191:"CHEESE" 2172:""" 2163:""" 1217:as here document. 406:<<- END_TEXT 290:> four five six 287:> one two three 184:literal, allowing 123:Bourne Again Shell 2932:number->string 2875:"Isaac" 1946:2. Strawberries.* 1858:2. Strawberries.* 1823:2. Strawberries.* 1772:Dear $ recipient, 1763:<<<' 1379:Dear $ recipient, 1357:Dear $ recipient, 1304:Dear $ recipient, 1286:"Spike" 440:<< END_TEXT 159:template literals 16:(Redirected from 4161: 4025: 4020:instead, due to 4019: 4004: 3998: 3996: 3992: 3985:lexical analysis 3982: 3978: 3974: 3970: 3965: 3959: 3957: 3951: 3935: 3934: 3932: 3931: 3922:. Archived from 3916: 3910: 3909: 3907: 3906: 3891: 3885: 3884: 3882: 3881: 3866: 3860: 3859: 3857: 3856: 3842: 3836: 3835: 3833: 3832: 3818: 3812: 3811: 3809: 3808: 3789: 3783: 3782: 3780: 3779: 3760: 3754: 3753: 3751: 3750: 3735: 3729: 3728: 3726: 3725: 3710: 3704: 3691: 3685: 3684: 3682: 3681: 3666: 3660: 3656:See for example 3654: 3648: 3643: 3637: 3636: 3634: 3633: 3617: 3611: 3610: 3608: 3607: 3592: 3583: 3582: 3580: 3579: 3560: 3554: 3553: 3551: 3550: 3535: 3501: 3498: 3495: 3492: 3489: 3486: 3483: 3480: 3477: 3474: 3471: 3468: 3465: 3462: 3459: 3456: 3453: 3450: 3447: 3444: 3441: 3438: 3435: 3432: 3412: 3408: 3405: 3402: 3399: 3396: 3392: 3389: 3386: 3382: 3378: 3374: 3370: 3360: 3335: 3332: 3321: 3318: 3315: 3312: 3308: 3282: 3279: 3276: 3273: 3270: 3267: 3264: 3261: 3258: 3255: 3252: 3249: 3246: 3243: 3240: 3237: 3227: 3224: 3221: 3218: 3215: 3212: 3209: 3208:>> "@ 3206: 3203: 3200: 3197: 3194: 3191: 3188: 3185: 3182: 3179: 3176: 3173: 3170: 3167: 3164: 3161: 3158: 3155: 3152: 3149: 3146: 3143: 3140: 3137: 3134: 3131: 3121: 3118: 3115: 3112: 3109: 3106: 3103: 3100: 3097: 3094: 3091: 3088: 3085: 3082: 3079: 3076: 3073: 3070: 3067: 3064: 3061: 3054: 3047: 3043: 3039: 3035: 3031: 3027: 3015: 3011: 3007: 3003: 2980: 2977: 2974: 2971: 2968: 2965: 2962: 2959: 2949: 2948: 2945: 2942: 2939: 2936: 2933: 2930: 2927: 2922: 2921: 2918: 2915: 2908: 2901: 2898: 2895: 2885: 2882: 2881:"Carl" 2879: 2876: 2873: 2870: 2867: 2864: 2861: 2858: 2855: 2852: 2849: 2839: 2836: 2833: 2830: 2820: 2817: 2814: 2811: 2808: 2805: 2802: 2799: 2796: 2793: 2790: 2780: 2777: 2774: 2771: 2761: 2758: 2755: 2752: 2749: 2746: 2743: 2740: 2737: 2734: 2731: 2724: 2720: 2716: 2697: 2696: 2691: 2690: 2685: 2684: 2681: 2678: 2675: 2667: 2664: 2661: 2658: 2655: 2652: 2649: 2646: 2643: 2640: 2637: 2634: 2631: 2628: 2625: 2622: 2619: 2616: 2613: 2606: 2605: 2600: 2599: 2590: 2589: 2580: 2579: 2573: 2572: 2569: 2566: 2563: 2560: 2557: 2554: 2551: 2546: 2545: 2542: 2539: 2536: 2511: 2504: 2501: 2498: 2495: 2492: 2489: 2486: 2483: 2480: 2477: 2474: 2471: 2468: 2465: 2462: 2459: 2456: 2453: 2450: 2443: 2439: 2417: 2414: 2411: 2408: 2405: 2402: 2399: 2396: 2393: 2390: 2387: 2384: 2381: 2378: 2375: 2372: 2369: 2366: 2363: 2360: 2357: 2354: 2351: 2348: 2345: 2320: 2317: 2314: 2311: 2308: 2305: 2302: 2299: 2296: 2293: 2290: 2267: 2264: 2261: 2258: 2255: 2252: 2249: 2246: 2243: 2240: 2237: 2234: 2231: 2228: 2225: 2222: 2219: 2216: 2213: 2210: 2207: 2204: 2201: 2198: 2195: 2192: 2189: 2186: 2176: 2173: 2170: 2167: 2164: 2161: 2158: 2136: 2132: 2125: 2122: 2119: 2116: 2113: 2110: 2107: 2104: 2101: 2098: 2095: 2092: 2089: 2086: 2083: 2080: 2077: 2074: 2071: 2068: 2065: 2055: 2052: 2049: 2045: 2035: 2032: 2029: 2026: 2023: 2020: 2017: 2007: 2004: 2001: 1998: 1995: 1992: 1989: 1986: 1983: 1980: 1973: 1969: 1962: 1959: 1956: 1953: 1950: 1947: 1944: 1941: 1938: 1935: 1932: 1929: 1926: 1923: 1920: 1917: 1914: 1911: 1908: 1905: 1902: 1899: 1896: 1893: 1890: 1883: 1879: 1875: 1868: 1865: 1862: 1859: 1856: 1853: 1850: 1846: 1836: 1833: 1830: 1827: 1824: 1821: 1818: 1815: 1812: 1809: 1806: 1788: 1785: 1782: 1779: 1776: 1773: 1770: 1767: 1764: 1761: 1758: 1740: 1737: 1734: 1731: 1721: 1718: 1715: 1712: 1709: 1706: 1703: 1700: 1697: 1694: 1691: 1688: 1685: 1682: 1679: 1676: 1673: 1670: 1667: 1664: 1661: 1658: 1655: 1652: 1649: 1646: 1643: 1640: 1617: 1613: 1609: 1605: 1598: 1595: 1592: 1589: 1586: 1583: 1580: 1577: 1574: 1571: 1568: 1565: 1562: 1559: 1549: 1546: 1543: 1540: 1537: 1534: 1531: 1517: 1514: 1511: 1508: 1505: 1502: 1499: 1496: 1493: 1490: 1487: 1484: 1481: 1478: 1475: 1472: 1469: 1466: 1463: 1460: 1457: 1454: 1451: 1448: 1445: 1442: 1439: 1429: 1426: 1423: 1420: 1417: 1414: 1411: 1408: 1405: 1402: 1399: 1389: 1386: 1383: 1380: 1370: 1367: 1364: 1361: 1358: 1355: 1352: 1349: 1346: 1336: 1333: 1330: 1327: 1317: 1314: 1311: 1308: 1305: 1302: 1299: 1296: 1293: 1290: 1287: 1284: 1281: 1278: 1275: 1272: 1269: 1266: 1263: 1232: 1199: 1195: 1191: 1183: 1179: 1163: 1160: 1157: 1154: 1151: 1148: 1145: 1142: 1139: 1136: 1133: 1130: 1127: 1124: 1121: 1118: 1115: 1112: 1109: 1106: 1103: 1100: 1097: 1090: 1089:textConnection() 1070: 1069: 1065: 1062: 1059: 1056: 1052: 1049: 1046: 1043: 1042: 1038: 1035: 1032: 1029: 1026: 1023: 1019: 1016: 1013: 1010: 1009: 1005: 1002: 999: 996: 993: 990: 986: 983: 980: 977: 974: 971: 968: 965: 961: 958: 955: 948: 944: 940: 936: 935:<<pathname 932: 907: 900: 897: 894: 891: 888: 885: 882: 879: 876: 873: 869: 866: 856: 853: 850: 847: 844: 841: 838: 834: 831: 828: 825: 822: 815: 806: 802: 799: 796: 793: 790: 787: 781:command, as in: 780: 771: 767: 764: 760: 753: 740: 737: 734: 731: 728: 725: 722: 719: 715: 712: 709: 699: 696: 693: 689: 686: 682: 679: 676: 666: 663: 660: 657: 654: 650: 647: 644: 641: 638: 635: 632: 622: 619: 616: 612: 609: 606: 596: 592: 588: 585: 582: 568: 567: 538: 535: 532: 529: 525: 515: 512: 509: 506: 503: 500: 497: 494: 491: 488: 485: 482: 479: 468: 464: 460: 456: 453: 450: 447: 444: 441: 437: 434: 431:+++++++++++++++ 430: 426: 422: 419: 416: 413: 410: 407: 403: 400: 390: 386: 360: 357: 354: 351: 347: 335: 331: 328: 325: 314: 313: 308: 307: 302: 294: 291: 288: 285: 281: 278: 269: 248: 244: 240: 233: 218: 214: 211:(often the word 203: 136: 128: 120: 112: 104: 96: 21: 4169: 4168: 4164: 4163: 4162: 4160: 4159: 4158: 4139: 4138: 4125: 4120: 4114:Wayback Machine 4102:Wayback Machine 4087:Wayback Machine 4072:Wayback Machine 4060:Wayback Machine 4047:Wayback Machine 4034: 4029: 4028: 4018: 4014: 4010: 4007: 4005: 4001: 3994: 3990: 3988: 3980: 3976: 3972: 3968: 3966: 3962: 3955: 3952: 3948: 3943: 3938: 3929: 3927: 3918: 3917: 3913: 3904: 3902: 3893: 3892: 3888: 3879: 3877: 3868: 3867: 3863: 3854: 3852: 3844: 3843: 3839: 3830: 3828: 3820: 3819: 3815: 3806: 3804: 3791: 3790: 3786: 3777: 3775: 3762: 3761: 3757: 3748: 3746: 3737: 3736: 3732: 3723: 3721: 3712: 3711: 3707: 3702:Wayback Machine 3692: 3688: 3679: 3677: 3668: 3667: 3663: 3655: 3651: 3644: 3640: 3631: 3629: 3620:Wayne Pollock. 3619: 3618: 3614: 3605: 3603: 3594: 3593: 3586: 3577: 3575: 3568:rosettacode.org 3562: 3561: 3557: 3548: 3546: 3537: 3536: 3529: 3525: 3517:Pipeline (Unix) 3508: 3503: 3502: 3499: 3496: 3493: 3490: 3487: 3484: 3481: 3478: 3475: 3472: 3469: 3466: 3463: 3460: 3457: 3454: 3451: 3448: 3445: 3442: 3439: 3436: 3433: 3430: 3420: 3415: 3414: 3410: 3406: 3403: 3400: 3397: 3394: 3390: 3387: 3384: 3380: 3376: 3372: 3368: 3362: 3361: 3358: 3352: 3351: 3337: 3336: 3333: 3330: 3324: 3323: 3319: 3316: 3313: 3310: 3306: 3289: 3284: 3283: 3280: 3277: 3274: 3271: 3268: 3265: 3263:>> '@ 3262: 3259: 3256: 3253: 3250: 3247: 3244: 3241: 3238: 3235: 3229: 3228: 3225: 3222: 3219: 3216: 3213: 3210: 3207: 3204: 3201: 3198: 3195: 3192: 3189: 3186: 3183: 3180: 3177: 3174: 3171: 3168: 3165: 3162: 3159: 3156: 3153: 3150: 3147: 3144: 3141: 3138: 3135: 3132: 3129: 3123: 3122: 3119: 3116: 3114:>> '@ 3113: 3110: 3107: 3104: 3101: 3098: 3095: 3092: 3089: 3086: 3083: 3080: 3077: 3074: 3071: 3068: 3065: 3062: 3059: 3052: 3045: 3041: 3037: 3033: 3029: 3025: 3013: 3009: 3005: 3001: 2990: 2982: 2981: 2978: 2975: 2972: 2969: 2966: 2963: 2960: 2957: 2951: 2946: 2943: 2940: 2937: 2934: 2931: 2928: 2925: 2919: 2916: 2913: 2906: 2903: 2902: 2899: 2896: 2893: 2887: 2886: 2883: 2880: 2877: 2874: 2871: 2868: 2865: 2862: 2859: 2856: 2853: 2850: 2847: 2841: 2840: 2837: 2834: 2831: 2828: 2822: 2821: 2818: 2815: 2812: 2809: 2806: 2803: 2800: 2797: 2794: 2791: 2788: 2782: 2781: 2778: 2775: 2772: 2769: 2763: 2762: 2759: 2756: 2753: 2750: 2747: 2744: 2741: 2738: 2735: 2732: 2729: 2722: 2718: 2714: 2704: 2694: 2688: 2682: 2679: 2676: 2673: 2669: 2668: 2665: 2662: 2659: 2656: 2653: 2650: 2647: 2644: 2641: 2638: 2635: 2632: 2629: 2626: 2623: 2620: 2617: 2614: 2611: 2603: 2597: 2587: 2581:), the default 2577: 2570: 2567: 2564: 2561: 2558: 2555: 2552: 2549: 2543: 2540: 2537: 2534: 2518: 2509: 2506: 2505: 2502: 2499: 2496: 2493: 2490: 2487: 2484: 2481: 2478: 2475: 2472: 2469: 2466: 2463: 2460: 2457: 2454: 2451: 2448: 2441: 2437: 2430: 2425: 2421:will print out 2419: 2418: 2415: 2412: 2409: 2406: 2403: 2400: 2397: 2394: 2391: 2388: 2385: 2382: 2379: 2376: 2373: 2370: 2367: 2364: 2361: 2358: 2355: 2352: 2349: 2347:<ostream> 2346: 2343: 2333: 2327: 2322: 2321: 2318: 2315: 2312: 2309: 2306: 2303: 2300: 2297: 2294: 2291: 2288: 2274: 2269: 2268: 2265: 2262: 2259: 2256: 2253: 2250: 2247: 2244: 2241: 2238: 2235: 2232: 2229: 2226: 2223: 2220: 2217: 2214: 2211: 2208: 2205: 2202: 2199: 2196: 2193: 2190: 2187: 2184: 2178: 2177: 2174: 2171: 2168: 2165: 2162: 2159: 2156: 2147: 2134: 2130: 2127: 2126: 2123: 2120: 2117: 2114: 2111: 2108: 2105: 2102: 2099: 2096: 2093: 2090: 2087: 2084: 2081: 2078: 2075: 2072: 2069: 2066: 2063: 2057: 2056: 2053: 2050: 2047: 2043: 2037: 2036: 2033: 2030: 2027: 2024: 2021: 2018: 2015: 2009: 2008: 2005: 2002: 1999: 1996: 1993: 1990: 1987: 1984: 1981: 1978: 1971: 1967: 1964: 1963: 1960: 1957: 1954: 1951: 1948: 1945: 1942: 1939: 1936: 1933: 1930: 1927: 1924: 1921: 1918: 1915: 1912: 1909: 1906: 1903: 1900: 1897: 1894: 1891: 1888: 1881: 1877: 1873: 1870: 1869: 1866: 1863: 1860: 1857: 1854: 1851: 1848: 1844: 1838: 1837: 1834: 1831: 1828: 1825: 1822: 1819: 1816: 1813: 1810: 1807: 1804: 1798: 1790: 1789: 1786: 1783: 1780: 1778:Not Quite Love, 1777: 1774: 1771: 1768: 1765: 1762: 1759: 1756: 1742: 1741: 1738: 1735: 1732: 1729: 1723: 1722: 1719: 1716: 1713: 1710: 1707: 1704: 1701: 1698: 1695: 1692: 1689: 1686: 1683: 1680: 1677: 1674: 1671: 1668: 1665: 1662: 1659: 1656: 1653: 1650: 1647: 1644: 1641: 1638: 1628: 1615: 1611: 1607: 1603: 1600: 1599: 1596: 1593: 1590: 1587: 1584: 1581: 1578: 1575: 1572: 1569: 1566: 1563: 1560: 1557: 1551: 1550: 1547: 1544: 1541: 1538: 1536:' END' 1535: 1532: 1529: 1519: 1518: 1515: 1512: 1509: 1506: 1503: 1500: 1497: 1494: 1491: 1488: 1485: 1482: 1479: 1476: 1473: 1470: 1467: 1464: 1461: 1458: 1455: 1452: 1449: 1446: 1443: 1440: 1437: 1431: 1430: 1427: 1424: 1421: 1418: 1415: 1412: 1409: 1406: 1403: 1400: 1397: 1391: 1390: 1387: 1385:Not Quite Love, 1384: 1381: 1378: 1372: 1371: 1368: 1365: 1363:Not Quite Love, 1362: 1359: 1356: 1353: 1350: 1347: 1344: 1338: 1337: 1334: 1332:Not Quite Love, 1331: 1328: 1325: 1319: 1318: 1315: 1312: 1310:Not Quite Love, 1309: 1306: 1303: 1300: 1297: 1294: 1291: 1288: 1285: 1282: 1279: 1276: 1273: 1270: 1267: 1264: 1261: 1244: 1239: 1237:Perl-influenced 1230: 1227:string literals 1223: 1211:Data URI scheme 1207: 1205:Data URI Scheme 1197: 1193: 1192:in Perl (e.g., 1189: 1181: 1177: 1170: 1165: 1164: 1161: 1158: 1155: 1152: 1149: 1146: 1143: 1140: 1137: 1134: 1131: 1128: 1125: 1122: 1119: 1116: 1113: 1110: 1107: 1104: 1101: 1098: 1095: 1088: 1085:file descriptor 1077: 1072: 1071: 1067: 1066: 1063: 1060: 1057: 1054: 1050: 1047: 1044: 1040: 1039: 1036: 1033: 1030: 1027: 1024: 1021: 1017: 1014: 1011: 1007: 1006: 1003: 1000: 997: 994: 991: 988: 984: 981: 978: 975: 972: 969: 966: 963: 959: 956: 953: 946: 942: 938: 934: 930: 914: 912:Microsoft NMAKE 905: 902: 901: 898: 895: 892: 889: 886: 883: 880: 877: 874: 871: 867: 864: 858: 857: 854: 851: 848: 845: 842: 839: 836: 832: 829: 826: 823: 820: 811: 808: 807: 804: 800: 797: 794: 791: 788: 785: 776: 773: 772: 769: 765: 762: 758: 749: 742: 741: 738: 735: 732: 729: 726: 723: 720: 717: 713: 710: 707: 701: 700: 697: 694: 691: 687: 684: 680: 677: 674: 668: 667: 664: 661: 658: 655: 652: 648: 645: 642: 639: 636: 633: 630: 624: 623: 620: 617: 614: 610: 607: 604: 598: 597: 594: 590: 586: 583: 580: 565: 545: 540: 539: 536: 533: 530: 527: 523: 517: 516: 513: 510: 507: 504: 501: 498: 495: 493:+++++++++++++++ 492: 489: 486: 483: 480: 477: 471: 470: 466: 462: 458: 454: 451: 448: 445: 442: 439: 435: 432: 428: 424: 420: 417: 414: 411: 408: 405: 401: 398: 362: 361: 358: 355: 352: 349: 345: 338: 337: 333: 329: 326: 323: 310: 304: 300: 297: 296: 292: 289: 286: 283: 279: 276: 267: 263: 255: 246: 242: 238: 231: 216: 212: 201: 198: 134: 126: 118: 110: 102: 94: 80:string literals 28: 23: 22: 15: 12: 11: 5: 4167: 4165: 4157: 4156: 4151: 4141: 4140: 4137: 4136: 4124: 4123:External links 4121: 4119: 4118: 4117: 4116: 4104: 4091:Mendel Cooper 4076: 4075: 4074: 4062: 4035: 4033: 4030: 4027: 4026: 4022:tab completion 3999: 3960: 3945: 3944: 3942: 3939: 3937: 3936: 3911: 3886: 3861: 3850:javaalmanac.io 3837: 3813: 3784: 3755: 3730: 3705: 3693:Ruby: Object: 3686: 3661: 3649: 3638: 3612: 3584: 3555: 3526: 3524: 3521: 3520: 3519: 3514: 3507: 3504: 3429: 3419: 3416: 3367: 3357: 3349: 3329: 3305: 3288: 3285: 3234: 3128: 3120:EINS ZWEI DREI 3058: 2989: 2986: 2956: 2911: 2892: 2846: 2827: 2787: 2768: 2728: 2703: 2700: 2610: 2517: 2514: 2447: 2429: 2426: 2423: 2342: 2326: 2323: 2287: 2273: 2270: 2183: 2155: 2146: 2143: 2062: 2042: 2014: 1977: 1887: 1843: 1803: 1797: 1794: 1755: 1728: 1637: 1627: 1624: 1556: 1528: 1436: 1396: 1377: 1343: 1324: 1295:<<" 1260: 1243: 1240: 1238: 1235: 1222: 1219: 1206: 1203: 1169: 1166: 1129:textConnection 1094: 1076: 1073: 1041:<<NOKEEP 952: 913: 910: 863: 819: 784: 757: 727:> two three 706: 673: 629: 603: 579: 551:(available in 544: 541: 522: 476: 397: 344: 321: 274: 262: 259: 254: 251: 204:followed by a 197: 194: 141:, notably the 26: 24: 14: 13: 10: 9: 6: 4: 3: 2: 4166: 4155: 4152: 4150: 4147: 4146: 4144: 4134: 4130: 4129:Here document 4127: 4126: 4122: 4115: 4111: 4108: 4105: 4103: 4099: 4096: 4093: 4092: 4090: 4088: 4084: 4081: 4077: 4073: 4069: 4066: 4063: 4061: 4057: 4054: 4051: 4050: 4049: 4048: 4044: 4041: 4037: 4036: 4031: 4023: 4003: 4000: 3986: 3964: 3961: 3950: 3947: 3940: 3926:on 2016-03-04 3925: 3921: 3915: 3912: 3900: 3896: 3890: 3887: 3875: 3871: 3865: 3862: 3851: 3847: 3841: 3838: 3827: 3823: 3817: 3814: 3802: 3798: 3794: 3788: 3785: 3773: 3769: 3765: 3759: 3756: 3744: 3740: 3734: 3731: 3719: 3715: 3709: 3706: 3703: 3699: 3696: 3690: 3687: 3675: 3671: 3665: 3662: 3659: 3653: 3650: 3647: 3642: 3639: 3628:on 2014-05-29 3627: 3623: 3616: 3613: 3601: 3597: 3591: 3589: 3585: 3573: 3569: 3565: 3559: 3556: 3544: 3540: 3534: 3532: 3528: 3522: 3518: 3515: 3513: 3510: 3509: 3505: 3449:functionality 3446:heredoc-style 3440:"Example 3427: 3425: 3417: 3365: 3355: 3347: 3344: 3342: 3327: 3303: 3300: 3298: 3294: 3286: 3232: 3126: 3117:ONE TWO THREE 3056: 3049: 3023: 3019: 2999: 2995: 2987: 2985: 2979:Embed code: 7 2954: 2910: 2890: 2844: 2825: 2785: 2766: 2726: 2712: 2708: 2701: 2699: 2651:APROG START 2608: 2594: 2584: 2531: 2527: 2523: 2515: 2513: 2482:3. Item Three 2445: 2435: 2427: 2422: 2380:)my_delimiter 2371:my_delimiter( 2340: 2338: 2332: 2324: 2313:</html> 2310:</body> 2285: 2283: 2279: 2271: 2181: 2153: 2151: 2144: 2142: 2140: 2060: 2040: 2012: 1975: 1943:1. Salad mix. 1907:"w" 1885: 1855:1. Salad mix. 1841: 1820:1. Salad mix. 1801: 1795: 1793: 1753: 1751: 1746: 1726: 1635: 1633: 1625: 1623: 1621: 1612:PACKAGE::DATA 1554: 1526: 1524: 1434: 1394: 1375: 1348:<<' 1341: 1322: 1258: 1255: 1252: 1250: 1241: 1236: 1234: 1228: 1220: 1218: 1216: 1212: 1204: 1202: 1190:PACKAGE::DATA 1187: 1175: 1167: 1092: 1086: 1081: 1074: 950: 928: 927: 922: 919: 911: 909: 899:one two three 861: 817: 814: 805:ONE TWO THREE 782: 779: 755: 752: 746: 704: 671: 665:ONE TWO THREE 627: 621:ONE TWO THREE 601: 577: 574: 572: 562: 558: 554: 550: 542: 520: 474: 395: 392: 382: 377: 375: 371: 367: 350:'EOF' 342: 319: 316: 299:In this case 272: 270: 260: 258: 253:File literals 252: 250: 235: 229: 224: 222: 210: 207: 195: 193: 191: 187: 183: 182:format string 178: 176: 172: 168: 164: 160: 156: 152: 148: 144: 140: 132: 124: 116: 108: 100: 92: 88: 83: 81: 77: 73: 69: 65: 61: 57: 53: 49: 45: 41: 40:here-document 37: 36:here document 33: 19: 4133:Rosetta Code 4078: 4038: 4002: 3963: 3949: 3928:. Retrieved 3924:the original 3914: 3903:. Retrieved 3889: 3878:. Retrieved 3864: 3853:. Retrieved 3849: 3840: 3829:. Retrieved 3825: 3816: 3805:. Retrieved 3796: 3787: 3776:. Retrieved 3767: 3758: 3747:. Retrieved 3733: 3722:. Retrieved 3708: 3689: 3678:. Retrieved 3664: 3652: 3641: 3630:. Retrieved 3626:the original 3615: 3604:. Retrieved 3576:. Retrieved 3567: 3558: 3547:. Retrieved 3421: 3383:DECK/DOLLARS 3363: 3353: 3345: 3338: 3325: 3301: 3290: 3230: 3175:New-TimeSpan 3124: 3050: 2998:here-strings 2997: 2991: 2983: 2952: 2904: 2888: 2860:#<<END 2842: 2823: 2783: 2764: 2711:here strings 2710: 2705: 2670: 2666://* JOB ENDS 2592: 2528:and current 2519: 2507: 2431: 2420: 2334: 2304:<body> 2301:<html> 2275: 2239:Shopkeeper: 2179: 2148: 2139:data segment 2128: 2058: 2038: 2010: 1965: 1958:GROCERY_LIST 1937:Grocery list 1934:GROCERY_LIST 1871: 1852:------------ 1849:Grocery list 1840:The result: 1839: 1835:GROCERY_LIST 1814:Grocery list 1811:GROCERY_LIST 1799: 1791: 1749: 1747: 1743: 1724: 1696:<<< 1669:<<< 1654:$ occupation 1631: 1629: 1620:data segment 1601: 1552: 1520: 1432: 1392: 1373: 1339: 1320: 1256: 1253: 1245: 1224: 1214: 1208: 1186:code segment 1174:data segment 1171: 1168:Data segment 1078: 1068:<<KEEP 1008:<<KEEP 926:inline files 924: 915: 903: 872:<<< 859: 809: 774: 763:<<< 747: 743: 718:<<< 702: 685:<<< 669: 653:<<< 625: 615:<<< 599: 591:<<< 575: 570: 566:<<< 548: 546: 543:Here strings 518: 472: 393: 378: 369: 365: 363: 339: 332:$ Workingdir 324:<< EOF 317: 312:<< END 298: 284:<< END 264: 256: 236: 225: 199: 179: 91:Bourne shell 84: 68:input stream 62:) is a file 59: 55: 51: 47: 43: 39: 35: 29: 3975:, while if 3826:openjdk.org 3293:DCL scripts 2894:Dear Isaac, 2713:start with 2654:XR 15,15 2485:IDENT" 2479:2. Item Two 2476:1. Item One 2473:"IDENT 2236:shop is it? 1523:indentation 1326:Dear Spike, 1280:$ recipient 549:here string 381:POSIX shell 348:cat<< 336:/home/user 306:<<END 261:Unix shells 230:, which is 228:redirection 72:source code 60:here-script 56:here-string 4143:Categories 4131:. Link to 3930:2015-04-21 3905:2011-09-17 3880:2011-09-17 3855:2024-06-05 3831:2024-06-05 3807:2011-09-07 3778:2011-04-06 3749:2018-12-21 3724:2010-05-22 3680:2013-08-31 3632:2014-05-28 3606:2018-04-20 3578:2017-02-20 3549:2018-04-20 3523:References 3455:YAML" 3379::TEMP.COM 3326:produces: 2994:PowerShell 2757:HERESTRING 2689:<</* 2601:), or the 2585:sequence ( 2329:See also: 2251:capitalize 1949:3. Cereal. 1861:3. Cereal. 1826:3. Cereal. 1616:main::DATA 1606:(formerly 1477:beginning: 1194:main::DATA 1180:(Perl) or 1123:read.table 1087:using the 989:temporary, 803:Ctra-zA-Z 730:> ' 473:produces: 209:identifier 206:delimiting 155:JavaScript 87:Unix shell 3377:$ SCRATCH 3341:data deck 3236:PS > 3184:PS > 3166:PS > 3154:PS > 3130:PS > 3096:PS > 3060:PS > 3042:$ ($ x.y) 2953:Outputs: 2889:Outputs: 2824:Outputs: 2798:displayln 2765:Outputs: 2739:displayln 2723:#<< 2719:#<< 2715:#<< 2520:On IBM's 2221:shop_type 2185:shop_type 2019:<<~ 1997:<<- 1968:<<- 1955:* Organic 1952:4. Milk.* 1867:* Organic 1864:4. Milk.* 1832:* Organic 1829:4. Milk.* 1714:$ toprint 1690:$ toprint 1579:<<~ 1153:row.names 1051:dependent 1028:discarded 1018:dependent 995:preserved 985:dependent 964:temporary 960:dependent 918:Microsoft 816:builtin: 736:TWO THREE 716:Ctra-zA-Z 698:TWO THREE 683:Ctra-zA-Z 651:Ctra-zA-Z 613:Ctra-zA-Z 589:Ctra-zA-Z 438:Ctra-zA-Z 404:Ctra-zA-Z 389:<<- 282:Ctra-zA-Z 115:KornShell 44:here-text 32:computing 4110:Archived 4098:Archived 4083:Archived 4068:Archived 4056:Archived 4043:Archived 3899:Archived 3874:Archived 3801:Archived 3772:Archived 3743:Archived 3718:Archived 3698:Archived 3674:Archived 3600:Archived 3572:Archived 3543:Archived 3506:See also 3388:$ $ $ $ 3178:-Minutes 3081:$ string 3072:$ string 3063:function 3028:but NOT 2863:Dear ~a, 2657:BR 14 2404:<< 2398:<< 2344:#include 2245:accolade 2194:accolade 2088:<< 2067:<< 1931:<< 1928:<< 1882:<< 1878:<< 1874:<< 1808:<< 1781:$ sender 1725:Outputs 1639:<?php 1632:heredocs 1614:such as 1604:__DATA__ 1533:<< 1459:<< 1444:<< 1407:<< 1388:$ sender 1374:Output: 1366:$ sender 1321:Output: 1313:$ sender 1265:$ sender 1231:<< 1178:__DATA__ 976:<< 939:<< 931:<< 724:> one 505:END_TEXT 452:END_TEXT 418:END_TEXT 385:<< 356:> EOF 330:> EOF 293:> END 247:<< 243:<< 239:<< 202:<< 196:Overview 4032:General 3797:php.net 3768:php.net 3695:__END__ 3479:message 3467:example 3434:caption 3395:$ INPUT 3393:TYPESYS 3373:$ INPUT 3371:COPYSYS 3359:$ 19.19 3311:$ INPUT 3309:TYPESYS 3187:@" 3139:$ marty 3087:ToUpper 2967:needed. 2779:* Three 2754:* Three 2438:q"IDENT 2278:Java 15 2131:__END__ 1736:Thanks! 1681:Thanks! 1608:__END__ 1301:"; 1182:__END__ 1045:target3 1012:target2 979:target1 954:target0 467:command 131:Z shell 129:), and 99:C shell 64:literal 48:heredoc 18:Heredoc 3169:$ diff 3157:$ time 3040:(e.g. 2920:racket 2917:at-exp 2914:#lang 2907:at-exp 2857:printf 2851:racket 2848:#lang 2792:racket 2789:#lang 2733:racket 2730:#lang 2707:Racket 2702:Racket 2593:except 2516:OS/JCL 2491:writef 2461:string 2442:IDENT" 2383:" 2368:" 2335:Since 2289:String 2150:Python 2145:Python 2082:" 1750:nowdoc 1642:$ name 1354:'; 1196:) and 1141:header 1058:inline 1031:inline 1022:named, 998:inline 967:inline 947:NOKEEP 896:" 884:" 855:" 843:" 835:-rabc 662:" 656:" 387:(i.e. 167:Python 52:hereis 4017:Tab ↹ 3977:\\EOF 3941:Notes 3512:CDATA 3452:using 3297:stdin 3242:' 3133:$ doc 3105:' 3030:$ x.y 2776:* Two 2773:* One 2751:* Two 2748:* One 2677:SYSIN 2642:SYSIN 2636:ASMLG 2553:SYSIN 2538:SYSIN 2350:const 2337:C++11 2227:lower 2203:print 2157:print 2097:BEGIN 2070:BEGIN 1769:' 1720:?> 1591:there 1588:Hello 1576:print 1545:World 1542:Hello 1480:BEGIN 1447:BEGIN 1410:`END` 1345:print 1292:print 1215:data: 1120:<- 1099:<- 1055:named 921:NMAKE 870:-rabc 721:' 688:' 659:$ foo 559:, or 465:thetr 322:$ cat 221:stdin 171:Julia 4009:Ctrl 3981:\EOF 3969:\EOF 3473:> 3458:date 3418:YAML 3407:$ $ 3038:$ () 2900:Carl 2671:The 2633:EXEC 2615:AHAR 2571:text 2530:z/OS 2497:list 2464:list 2452:main 2413:endl 2395:cout 2353:char 2292:html 2284:378: 2280:via 2272:Java 2135:DATA 2109:puts 2064:puts 2016:puts 1994:puts 1985:Time 1940:---- 1895:open 1889:File 1872:The 1817:---- 1805:puts 1796:Ruby 1711:echo 1666:echo 1495:over 1468:This 1422:echo 1416:echo 1242:Perl 1198:DATA 1147:TRUE 1061:file 1034:file 1001:file 970:file 943:KEEP 906:read 881:echo 868:read 840:echo 833:read 824:echo 813:read 798:LANG 789:echo 778:echo 770:1024 768:^10 711:LANG 690:one 678:LANG 646:LANG 608:LANG 593:one 584:LANG 571:word 553:bash 463:echo 459:echo 455:echo 433:LANG 429:echo 425:echo 421:echo 399:LANG 374:Perl 366:does 277:LANG 232:< 188:and 173:and 151:Ruby 149:and 127:bash 111:tcsh 107:tcsh 76:file 34:, a 3973:EOF 3431:--- 3409:$ 3391:$ 3381:$ 3375:SYS 3369:$ 3307:$ 3299:). 3291:In 3048:). 3044:or 3034:$ x 3032:or 3026:$ x 3012:or 3004:or 2992:In 2950:}) 2872:END 2709:'s 2680:DD 2660:END 2645:DD 2618:JOB 2583:EOF 2565:DLM 2556:DD 2547:or 2541:DD 2526:MVS 2510:q"" 2449:int 2407:std 2401:str 2389:std 2359:str 2325:C++ 2282:JEP 2103:END 2091:END 2044:$ 2034:EOF 2022:EOF 2006:EOF 2000:EOF 1991:now 1979:now 1972:#{} 1961:end 1845:$ 1784:END 1766:END 1757:$ x 1705:EOF 1699:EOF 1684:EOF 1672:EOF 1626:PHP 1594:EOF 1582:EOF 1548:END 1530:say 1507:say 1501:END 1486:now 1483:And 1474:the 1462:END 1438:say 1428:END 1425:bar 1419:foo 1369:END 1351:END 1316:END 1298:END 1135:str 1096:str 1064:... 1037:... 1025:but 1004:... 992:but 973:... 945:or 933:or 916:In 893:$ c 890:$ b 887:$ a 878:$ 865:$ 852:$ c 849:$ b 846:$ a 837:$ 821:$ 786:$ 759:$ 733:ONE 708:$ 695:ONE 675:$ 643:$ 634:foo 631:$ 605:$ 595:ONE 581:$ 561:zsh 557:ksh 537:EOF 524:$ 379:In 370:not 346:$ 309:or 301:END 217:END 215:or 213:EOF 175:Tcl 163:ES6 147:PHP 135:zsh 121:), 119:ksh 113:), 105:), 103:csh 97:), 66:or 58:or 30:In 4145:: 4015:+ 3991:\' 3897:. 3872:. 3848:. 3824:. 3799:. 3795:. 3770:. 3766:. 3741:. 3716:. 3672:. 3598:. 3587:^ 3570:. 3566:. 3541:. 3530:^ 3443:of 3411:$ 3404:$ 3320:$ 3181:25 3090:() 3014:'@ 3010:"@ 3006:@' 3002:@" 2947:)) 2869:~a 2698:. 2695:/* 2674:// 2663:/* 2639:// 2630:// 2612:// 2604:/* 2598:// 2588:/* 2578:// 2550:// 2535:// 2500:); 2455:() 2410::: 2392::: 2254:() 2230:() 2141:. 2121:\n 2115:\n 2079:\n 1913:do 1892::: 1752:: 1622:. 1561:if 1525:. 1516:); 1492:is 1489:it 1471:is 1465:); 1398:my 1277:my 1262:my 1138:), 761:bc 754:: 751:bc 739:$ 555:, 547:A 275:$ 268:tr 169:, 153:. 95:sh 54:, 50:, 46:, 42:, 4089:, 4013:V 4011:+ 3995:' 3956:" 3933:. 3908:. 3883:. 3858:. 3834:. 3810:. 3781:. 3752:. 3727:. 3683:. 3635:. 3609:. 3581:. 3552:. 3485:| 3482:: 3470:: 3461:: 3437:: 3385:= 3239:@ 3172:= 3160:= 3148:, 3142:= 3136:, 3102:@ 3093:} 3084:. 3078:{ 3075:) 3069:( 2944:4 2941:3 2938:+ 2935:( 2929:( 2926:@ 2884:) 2854:( 2819:) 2795:( 2760:) 2736:( 2683:* 2648:* 2627:) 2621:( 2568:= 2562:, 2559:* 2544:* 2503:} 2494:( 2488:; 2470:q 2467:= 2458:{ 2434:D 2428:D 2416:; 2386:; 2365:R 2362:= 2356:* 2319:; 2295:= 2266:) 2257:} 2248:. 2242:{ 2233:} 2224:. 2218:{ 2209:f 2206:( 2197:= 2188:= 2175:) 2160:( 2085:+ 2073:+ 1988:. 1982:= 1925:f 1922:| 1919:f 1916:| 1910:) 1904:, 1898:( 1787:; 1760:= 1717:; 1708:; 1693:= 1687:; 1663:; 1657:= 1651:; 1645:= 1597:} 1585:; 1573:{ 1570:) 1567:1 1564:( 1539:; 1510:( 1498:! 1456:. 1450:. 1441:( 1413:; 1404:= 1289:; 1283:= 1274:; 1268:= 1162:) 1159:1 1156:= 1150:, 1144:= 1132:( 1126:( 1117:x 1080:R 1075:R 1048:: 1015:: 982:: 957:: 830:| 801:= 795:| 766:2 714:= 681:= 649:= 637:= 611:= 587:= 436:= 402:= 280:= 133:( 125:( 117:( 109:( 101:( 93:( 38:( 20:)

Index

Heredoc
computing
literal
input stream
source code
file
string literals
Unix shell
Bourne shell
C shell
tcsh
KornShell
Bourne Again Shell
Z shell
high-level languages
Perl programming language
PHP
Ruby
JavaScript
template literals
ES6
Python
Julia
Tcl
format string
variable substitution
command substitution
delimiting
identifier
stdin

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.