"Fossies" - the Fresh Open Source Software archive

Member "scalpel-2.0/tre-0.7.5-win32/tests/agrep/records.ok" of archive scalpel-2.0.tar.gz:


#### TEST: agrep  -d \s+ a records.in
 match a starts at a character.  Similarly, at a character. characters are
alphanumerics (as locale) and
character. that characters match; cannot as characters that a (a character) and an (an extra character) a character, that a and an added a larger than
and regular and after last a default default a a can
any regular that match
example, mail messages as a
Mailbox format
Exit status 0.
#### TEST: agrep  -d \s+ a < records.in
 match a starts at a character.  Similarly, at a character. characters are
alphanumerics (as locale) and
character. that characters match; cannot as characters that a (a character) and an (an extra character) a character, that a and an added a larger than
and regular and after last a default default a a can
any regular that match
example, mail messages as a
Mailbox format
Exit status 0.
#### TEST: agrep -c -d \s+ a records.in
64

Exit status 0.
#### TEST: agrep -c -d \s+ a < records.in
64

Exit status 0.
#### TEST: agrep -H -d \s+ a records.in
records.in: matchrecords.in: arecords.in: startsrecords.in: atrecords.in: arecords.in: character.records.in:  Similarly,records.in: atrecords.in: arecords.in: character.records.in: charactersrecords.in: arerecords.in:
alphanumericsrecords.in: (asrecords.in: locale)records.in: andrecords.in:
character.records.in: thatrecords.in: charactersrecords.in: match;records.in: cannotrecords.in: asrecords.in: charactersrecords.in: thatrecords.in: arecords.in: (arecords.in: character)records.in: andrecords.in: anrecords.in: (anrecords.in: extrarecords.in: character)records.in: arecords.in: character,records.in: thatrecords.in: arecords.in: andrecords.in: anrecords.in: addedrecords.in: arecords.in: largerrecords.in: thanrecords.in:
andrecords.in: regularrecords.in: andrecords.in: afterrecords.in: lastrecords.in: arecords.in: defaultrecords.in: defaultrecords.in: arecords.in: arecords.in: canrecords.in:
anyrecords.in: regularrecords.in: thatrecords.in: matchrecords.in:
example,records.in: mailrecords.in: messagesrecords.in: asrecords.in: arecords.in:
Mailboxrecords.in: format
Exit status 0.
#### TEST: agrep -H -d \s+ a < records.in
(standard input): match(standard input): a(standard input): starts(standard input): at(standard input): a(standard input): character.(standard input):  Similarly,(standard input): at(standard input): a(standard input): character.(standard input): characters(standard input): are(standard input):
alphanumerics(standard input): (as(standard input): locale)(standard input): and(standard input):
character.(standard input): that(standard input): characters(standard input): match;(standard input): cannot(standard input): as(standard input): characters(standard input): that(standard input): a(standard input): (a(standard input): character)(standard input): and(standard input): an(standard input): (an(standard input): extra(standard input): character)(standard input): a(standard input): character,(standard input): that(standard input): a(standard input): and(standard input): an(standard input): added(standard input): a(standard input): larger(standard input): than(standard input):
and(standard input): regular(standard input): and(standard input): after(standard input): last(standard input): a(standard input): default(standard input): default(standard input): a(standard input): a(standard input): can(standard input):
any(standard input): regular(standard input): that(standard input): match(standard input):
example,(standard input): mail(standard input): messages(standard input): as(standard input): a(standard input):
Mailbox(standard input): format
Exit status 0.
#### TEST: agrep -l -d \s+ a records.in
records.in

Exit status 0.
#### TEST: agrep -l -d \s+ a < records.in
(standard input)

Exit status 0.
#### TEST: agrep -n -d \s+ a records.in
4: match12: a16: starts17: at27: a30: character.31:  Similarly,37: at47: a50: character.52: characters53: are54:
alphanumerics55: (as60: locale)61: and64:
character.66: that70: characters74: match;76: cannot79: as85: characters89: that90: a92: (a94: character)95: and96: an98: (an99: extra100: character)103: a105: character,112: that114: a116: and117: an119: added126: a132: larger133: than141:
and153: regular166: and167: after169: last175: a178: default187: default188: a191: a194: can196:
any197: regular199: that202: match207:
example,213: mail214: messages215: as218: a219:
Mailbox220: format
Exit status 0.
#### TEST: agrep -n -d \s+ a < records.in
4: match12: a16: starts17: at27: a30: character.31:  Similarly,37: at47: a50: character.52: characters53: are54:
alphanumerics55: (as60: locale)61: and64:
character.66: that70: characters74: match;76: cannot79: as85: characters89: that90: a92: (a94: character)95: and96: an98: (an99: extra100: character)103: a105: character,112: that114: a116: and117: an119: added126: a132: larger133: than141:
and153: regular166: and167: after169: last175: a178: default187: default188: a191: a194: can196:
any197: regular199: that202: match207:
example,213: mail214: messages215: as218: a219:
Mailbox220: format
Exit status 0.
#### TEST: agrep -s -d \s+ a records.in
0: match0: a0: starts0: at0: a0: character.0:  Similarly,0: at0: a0: character.0: characters0: are0:
alphanumerics0: (as0: locale)0: and0:
character.0: that0: characters0: match;0: cannot0: as0: characters0: that0: a0: (a0: character)0: and0: an0: (an0: extra0: character)0: a0: character,0: that0: a0: and0: an0: added0: a0: larger0: than0:
and0: regular0: and0: after0: last0: a0: default0: default0: a0: a0: can0:
any0: regular0: that0: match0:
example,0: mail0: messages0: as0: a0:
Mailbox0: format
Exit status 0.
#### TEST: agrep -s -d \s+ a < records.in
0: match0: a0: starts0: at0: a0: character.0:  Similarly,0: at0: a0: character.0: characters0: are0:
alphanumerics0: (as0: locale)0: and0:
character.0: that0: characters0: match;0: cannot0: as0: characters0: that0: a0: (a0: character)0: and0: an0: (an0: extra0: character)0: a0: character,0: that0: a0: and0: an0: added0: a0: larger0: than0:
and0: regular0: and0: after0: last0: a0: default0: default0: a0: a0: can0:
any0: regular0: that0: match0:
example,0: mail0: messages0: as0: a0:
Mailbox0: format
Exit status 0.
#### TEST: agrep -M -d \s+ a records.in
match a
starts at a character.  Similarly, at a
character.  characters are
alphanumerics (as locale) and character.  that characters match; cannot as characters that a (a
character) and an (an extra character) a character, that a
and an added a
larger than and regular and after last
a default default a a can any regular that match example, mail messages as a
Mailbox format 
Exit status 0.
#### TEST: agrep -M -d \s+ a < records.in
match a
starts at a character.  Similarly, at a
character.  characters are
alphanumerics (as locale) and character.  that characters match; cannot as characters that a (a
character) and an (an extra character) a character, that a
and an added a
larger than and regular and after last
a default default a a can any regular that match example, mail messages as a
Mailbox format 
Exit status 0.
#### TEST: agrep --show-position -d \s+ a records.in
1-2: match0-1: a2-3: starts0-1: at0-1: a2-3: character.5-6:  Similarly,0-1: at0-1: a2-3: character.2-3: characters0-1: are0-1:
alphanumerics1-2: (as3-4: locale)0-1: and2-3:
character.2-3: that2-3: characters1-2: match;1-2: cannot0-1: as2-3: characters2-3: that0-1: a1-2: (a2-3: character)0-1: and0-1: an1-2: (an4-5: extra2-3: character)0-1: a2-3: character,2-3: that0-1: a0-1: and0-1: an0-1: added0-1: a1-2: larger2-3: than0-1:
and5-6: regular0-1: and0-1: after1-2: last0-1: a3-4: default3-4: default0-1: a0-1: a1-2: can0-1:
any5-6: regular2-3: that1-2: match2-3:
example,1-2: mail4-5: messages0-1: as0-1: a1-2:
Mailbox4-5: format
Exit status 0.
#### TEST: agrep --show-position -d \s+ a < records.in
1-2: match0-1: a2-3: starts0-1: at0-1: a2-3: character.5-6:  Similarly,0-1: at0-1: a2-3: character.2-3: characters0-1: are0-1:
alphanumerics1-2: (as3-4: locale)0-1: and2-3:
character.2-3: that2-3: characters1-2: match;1-2: cannot0-1: as2-3: characters2-3: that0-1: a1-2: (a2-3: character)0-1: and0-1: an1-2: (an4-5: extra2-3: character)0-1: a2-3: character,2-3: that0-1: a0-1: and0-1: an0-1: added0-1: a1-2: larger2-3: than0-1:
and5-6: regular0-1: and0-1: after1-2: last0-1: a3-4: default3-4: default0-1: a0-1: a1-2: can0-1:
any5-6: regular2-3: that1-2: match2-3:
example,1-2: mail4-5: messages0-1: as0-1: a1-2:
Mailbox4-5: format
Exit status 0.
#### TEST: agrep --color -d \s+ a records.in
 match a starts at a character.  Similarly, at a character. characters are
alphanumerics (as locale) and
character. that characters match; cannot as characters that a (a character) and an (an extra character) a character, that a and an added a larger than
and regular and after last a default default a a can
any regular that match
example, mail messages as a
Mailbox format
Exit status 0.
#### TEST: agrep --color -d \s+ a < records.in
 match a starts at a character.  Similarly, at a character. characters are
alphanumerics (as locale) and
character. that characters match; cannot as characters that a (a character) and an (an extra character) a character, that a and an added a larger than
and regular and after last a default default a a can
any regular that match
example, mail messages as a
Mailbox format
Exit status 0.
#### TEST: agrep -H -n -s --color --show-position -d \s+ a records.in
records.in:4:0:1-2: matchrecords.in:12:0:0-1: arecords.in:16:0:2-3: startsrecords.in:17:0:0-1: atrecords.in:27:0:0-1: arecords.in:30:0:2-3: character.records.in:31:0:5-6:  Similarly,records.in:37:0:0-1: atrecords.in:47:0:0-1: arecords.in:50:0:2-3: character.records.in:52:0:2-3: charactersrecords.in:53:0:0-1: arerecords.in:54:0:0-1:
alphanumericsrecords.in:55:0:1-2: (asrecords.in:60:0:3-4: locale)records.in:61:0:0-1: andrecords.in:64:0:2-3:
character.records.in:66:0:2-3: thatrecords.in:70:0:2-3: charactersrecords.in:74:0:1-2: match;records.in:76:0:1-2: cannotrecords.in:79:0:0-1: asrecords.in:85:0:2-3: charactersrecords.in:89:0:2-3: thatrecords.in:90:0:0-1: arecords.in:92:0:1-2: (arecords.in:94:0:2-3: character)records.in:95:0:0-1: andrecords.in:96:0:0-1: anrecords.in:98:0:1-2: (anrecords.in:99:0:4-5: extrarecords.in:100:0:2-3: character)records.in:103:0:0-1: arecords.in:105:0:2-3: character,records.in:112:0:2-3: thatrecords.in:114:0:0-1: arecords.in:116:0:0-1: andrecords.in:117:0:0-1: anrecords.in:119:0:0-1: addedrecords.in:126:0:0-1: arecords.in:132:0:1-2: largerrecords.in:133:0:2-3: thanrecords.in:141:0:0-1:
andrecords.in:153:0:5-6: regularrecords.in:166:0:0-1: andrecords.in:167:0:0-1: afterrecords.in:169:0:1-2: lastrecords.in:175:0:0-1: arecords.in:178:0:3-4: defaultrecords.in:187:0:3-4: defaultrecords.in:188:0:0-1: arecords.in:191:0:0-1: arecords.in:194:0:1-2: canrecords.in:196:0:0-1:
anyrecords.in:197:0:5-6: regularrecords.in:199:0:2-3: thatrecords.in:202:0:1-2: matchrecords.in:207:0:2-3:
example,records.in:213:0:1-2: mailrecords.in:214:0:4-5: messagesrecords.in:215:0:0-1: asrecords.in:218:0:0-1: arecords.in:219:0:1-2:
Mailboxrecords.in:220:0:4-5: format
Exit status 0.
#### TEST: agrep -H -n -s --color --show-position -d \s+ a < records.in
(standard input):4:0:1-2: match(standard input):12:0:0-1: a(standard input):16:0:2-3: starts(standard input):17:0:0-1: at(standard input):27:0:0-1: a(standard input):30:0:2-3: character.(standard input):31:0:5-6:  Similarly,(standard input):37:0:0-1: at(standard input):47:0:0-1: a(standard input):50:0:2-3: character.(standard input):52:0:2-3: characters(standard input):53:0:0-1: are(standard input):54:0:0-1:
alphanumerics(standard input):55:0:1-2: (as(standard input):60:0:3-4: locale)(standard input):61:0:0-1: and(standard input):64:0:2-3:
character.(standard input):66:0:2-3: that(standard input):70:0:2-3: characters(standard input):74:0:1-2: match;(standard input):76:0:1-2: cannot(standard input):79:0:0-1: as(standard input):85:0:2-3: characters(standard input):89:0:2-3: that(standard input):90:0:0-1: a(standard input):92:0:1-2: (a(standard input):94:0:2-3: character)(standard input):95:0:0-1: and(standard input):96:0:0-1: an(standard input):98:0:1-2: (an(standard input):99:0:4-5: extra(standard input):100:0:2-3: character)(standard input):103:0:0-1: a(standard input):105:0:2-3: character,(standard input):112:0:2-3: that(standard input):114:0:0-1: a(standard input):116:0:0-1: and(standard input):117:0:0-1: an(standard input):119:0:0-1: added(standard input):126:0:0-1: a(standard input):132:0:1-2: larger(standard input):133:0:2-3: than(standard input):141:0:0-1:
and(standard input):153:0:5-6: regular(standard input):166:0:0-1: and(standard input):167:0:0-1: after(standard input):169:0:1-2: last(standard input):175:0:0-1: a(standard input):178:0:3-4: default(standard input):187:0:3-4: default(standard input):188:0:0-1: a(standard input):191:0:0-1: a(standard input):194:0:1-2: can(standard input):196:0:0-1:
any(standard input):197:0:5-6: regular(standard input):199:0:2-3: that(standard input):202:0:1-2: match(standard input):207:0:2-3:
example,(standard input):213:0:1-2: mail(standard input):214:0:4-5: messages(standard input):215:0:0-1: as(standard input):218:0:0-1: a(standard input):219:0:1-2:
Mailbox(standard input):220:0:4-5: format
Exit status 0.
#### TEST: agrep  -d \s+ [A-Z] records.in
Force PATTERN  A  Similarly,  Word-constituent  Note

Set NUM.  Note  Thus,

Set PATTERN.  The  The  PATTERN  For "^From
Mailbox
Exit status 0.
#### TEST: agrep  -d \s+ [A-Z] < records.in
Force PATTERN  A  Similarly,  Word-constituent  Note

Set NUM.  Note  Thus,

Set PATTERN.  The  The  PATTERN  For "^From
Mailbox
Exit status 0.
#### TEST: agrep -c -d \s+ [A-Z] records.in
18

Exit status 0.
#### TEST: agrep -c -d \s+ [A-Z] < records.in
18

Exit status 0.
#### TEST: agrep -H -d \s+ [A-Z] records.in
records.in:Forcerecords.in: PATTERNrecords.in:  Arecords.in:  Similarly,records.in:  Word-constituentrecords.in:  Noterecords.in:

Setrecords.in: NUM.records.in:  Noterecords.in:  Thus,records.in:

Setrecords.in: PATTERN.records.in:  Therecords.in:  Therecords.in:  PATTERNrecords.in:  Forrecords.in: "^Fromrecords.in:
Mailbox
Exit status 0.
#### TEST: agrep -H -d \s+ [A-Z] < records.in
(standard input):Force(standard input): PATTERN(standard input):  A(standard input):  Similarly,(standard input):  Word-constituent(standard input):  Note(standard input):

Set(standard input): NUM.(standard input):  Note(standard input):  Thus,(standard input):

Set(standard input): PATTERN.(standard input):  The(standard input):  The(standard input):  PATTERN(standard input):  For(standard input): "^From(standard input):
Mailbox
Exit status 0.
#### TEST: agrep -l -d \s+ [A-Z] records.in
records.in

Exit status 0.
#### TEST: agrep -l -d \s+ [A-Z] < records.in
(standard input)

Exit status 0.
#### TEST: agrep -n -d \s+ [A-Z] records.in
1:Force2: PATTERN8:  A31:  Similarly,51:  Word-constituent65:  Note81:

Set87: NUM.88:  Note121:  Thus,149:

Set156: PATTERN.157:  The177:  The193:  PATTERN206:  For210: "^From219:
Mailbox
Exit status 0.
#### TEST: agrep -n -d \s+ [A-Z] < records.in
1:Force2: PATTERN8:  A31:  Similarly,51:  Word-constituent65:  Note81:

Set87: NUM.88:  Note121:  Thus,149:

Set156: PATTERN.157:  The177:  The193:  PATTERN206:  For210: "^From219:
Mailbox
Exit status 0.
#### TEST: agrep -s -d \s+ [A-Z] records.in
0:Force0: PATTERN0:  A0:  Similarly,0:  Word-constituent0:  Note0:

Set0: NUM.0:  Note0:  Thus,0:

Set0: PATTERN.0:  The0:  The0:  PATTERN0:  For0: "^From0:
Mailbox
Exit status 0.
#### TEST: agrep -s -d \s+ [A-Z] < records.in
0:Force0: PATTERN0:  A0:  Similarly,0:  Word-constituent0:  Note0:

Set0: NUM.0:  Note0:  Thus,0:

Set0: PATTERN.0:  The0:  The0:  PATTERN0:  For0: "^From0:
Mailbox
Exit status 0.
#### TEST: agrep -M -d \s+ [A-Z] records.in
Force PATTERN A Similarly, Word-constituent Note Set NUM.  Note Thus, Set PATTERN.  The The PATTERN For
"^From Mailbox 
Exit status 0.
#### TEST: agrep -M -d \s+ [A-Z] < records.in
Force PATTERN A Similarly, Word-constituent Note Set NUM.  Note Thus, Set PATTERN.  The The PATTERN For
"^From Mailbox 
Exit status 0.
#### TEST: agrep --show-position -d \s+ [A-Z] records.in
0-1:Force0-1: PATTERN0-1:  A0-1:  Similarly,0-1:  Word-constituent0-1:  Note0-1:

Set0-1: NUM.0-1:  Note0-1:  Thus,0-1:

Set0-1: PATTERN.0-1:  The0-1:  The0-1:  PATTERN0-1:  For2-3: "^From0-1:
Mailbox
Exit status 0.
#### TEST: agrep --show-position -d \s+ [A-Z] < records.in
0-1:Force0-1: PATTERN0-1:  A0-1:  Similarly,0-1:  Word-constituent0-1:  Note0-1:

Set0-1: NUM.0-1:  Note0-1:  Thus,0-1:

Set0-1: PATTERN.0-1:  The0-1:  The0-1:  PATTERN0-1:  For2-3: "^From0-1:
Mailbox
Exit status 0.
#### TEST: agrep --color -d \s+ [A-Z] records.in
Force PATTERN  A  Similarly,  Word-constituent  Note

Set NUM.  Note  Thus,

Set PATTERN.  The  The  PATTERN  For "^From
Mailbox
Exit status 0.
#### TEST: agrep --color -d \s+ [A-Z] < records.in
Force PATTERN  A  Similarly,  Word-constituent  Note

Set NUM.  Note  Thus,

Set PATTERN.  The  The  PATTERN  For "^From
Mailbox
Exit status 0.
#### TEST: agrep -H -n -s --color --show-position -d \s+ [A-Z] records.in
records.in:1:0:0-1:Forcerecords.in:2:0:0-1: PATTERNrecords.in:8:0:0-1:  Arecords.in:31:0:0-1:  Similarly,records.in:51:0:0-1:  Word-constituentrecords.in:65:0:0-1:  Noterecords.in:81:0:0-1:

Setrecords.in:87:0:0-1: NUM.records.in:88:0:0-1:  Noterecords.in:121:0:0-1:  Thus,records.in:149:0:0-1:

Setrecords.in:156:0:0-1: PATTERN.records.in:157:0:0-1:  Therecords.in:177:0:0-1:  Therecords.in:193:0:0-1:  PATTERNrecords.in:206:0:0-1:  Forrecords.in:210:0:2-3: "^Fromrecords.in:219:0:0-1:
Mailbox
Exit status 0.
#### TEST: agrep -H -n -s --color --show-position -d \s+ [A-Z] < records.in
(standard input):1:0:0-1:Force(standard input):2:0:0-1: PATTERN(standard input):8:0:0-1:  A(standard input):31:0:0-1:  Similarly,(standard input):51:0:0-1:  Word-constituent(standard input):65:0:0-1:  Note(standard input):81:0:0-1:

Set(standard input):87:0:0-1: NUM.(standard input):88:0:0-1:  Note(standard input):121:0:0-1:  Thus,(standard input):149:0:0-1:

Set(standard input):156:0:0-1: PATTERN.(standard input):157:0:0-1:  The(standard input):177:0:0-1:  The(standard input):193:0:0-1:  PATTERN(standard input):206:0:0-1:  For(standard input):210:0:2-3: "^From(standard input):219:0:0-1:
Mailbox
Exit status 0.
#### TEST: agrep  -d \.\s+ -M error records.in
Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep  -d \.\s+ -M error < records.in
Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep -c -d \.\s+ -M error records.in
1

Exit status 0.
#### TEST: agrep -c -d \.\s+ -M error < records.in
1

Exit status 0.
#### TEST: agrep -H -d \.\s+ -M error records.in
records.in:Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep -H -d \.\s+ -M error < records.in
(standard input):Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep -l -d \.\s+ -M error records.in
records.in

Exit status 0.
#### TEST: agrep -l -d \.\s+ -M error < records.in
(standard input)

Exit status 0.
#### TEST: agrep -n -d \.\s+ -M error records.in
5:Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep -n -d \.\s+ -M error < records.in
5:Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep -s -d \.\s+ -M error records.in
0:Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep -s -d \.\s+ -M error < records.in
0:Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep -M -d \.\s+ -M error records.in
Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep -M -d \.\s+ -M error < records.in
Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep --show-position -d \.\s+ -M error records.in
97-102:Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep --show-position -d \.\s+ -M error < records.in
97-102:Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep --color -d \.\s+ -M error records.in
Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep --color -d \.\s+ -M error < records.in
Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep -H -n -s --color --show-position -d \.\s+ -M error records.in
records.in:5:0:97-102:Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep -H -n -s --color --show-position -d \.\s+ -M error < records.in
(standard input):5:0:97-102:Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.


Exit status 0.
#### TEST: agrep  -d \.\s+ -M default records.in
The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep  -d \.\s+ -M default < records.in
The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep -c -d \.\s+ -M default records.in
1

Exit status 0.
#### TEST: agrep -c -d \.\s+ -M default < records.in
1

Exit status 0.
#### TEST: agrep -H -d \.\s+ -M default records.in
records.in:The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep -H -d \.\s+ -M default < records.in
(standard input):The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep -l -d \.\s+ -M default records.in
records.in

Exit status 0.
#### TEST: agrep -l -d \.\s+ -M default < records.in
(standard input)

Exit status 0.
#### TEST: agrep -n -d \.\s+ -M default records.in
11:The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep -n -d \.\s+ -M default < records.in
11:The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep -s -d \.\s+ -M default records.in
0:The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep -s -d \.\s+ -M default < records.in
0:The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep -M -d \.\s+ -M default records.in
The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep -M -d \.\s+ -M default < records.in
The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep --show-position -d \.\s+ -M default records.in
4-11:The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep --show-position -d \.\s+ -M default < records.in
4-11:The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep --color -d \.\s+ -M default records.in
The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep --color -d \.\s+ -M default < records.in
The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep -H -n -s --color --show-position -d \.\s+ -M default records.in
records.in:11:0:4-11:The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep -H -n -s --color --show-position -d \.\s+ -M default < records.in
(standard input):11:0:4-11:The default record delimiter
is the regexp "\n", so by default a record is a line.  
Exit status 0.
#### TEST: agrep  -d \n\n -M PATTERN records.in
Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep  -d \n\n -M PATTERN < records.in
Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep -c -d \n\n -M PATTERN records.in
2

Exit status 0.
#### TEST: agrep -c -d \n\n -M PATTERN < records.in
2

Exit status 0.
#### TEST: agrep -H -d \n\n -M PATTERN records.in
records.in:Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

records.in:Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep -H -d \n\n -M PATTERN < records.in
(standard input):Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

(standard input):Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep -l -d \n\n -M PATTERN records.in
records.in

Exit status 0.
#### TEST: agrep -l -d \n\n -M PATTERN < records.in
(standard input)

Exit status 0.
#### TEST: agrep -n -d \n\n -M PATTERN records.in
1:Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

3:Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep -n -d \n\n -M PATTERN < records.in
1:Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

3:Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep -s -d \n\n -M PATTERN records.in
0:Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

0:Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep -s -d \n\n -M PATTERN < records.in
0:Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

0:Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep -M -d \n\n -M PATTERN records.in
Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep -M -d \n\n -M PATTERN < records.in
Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep --show-position -d \n\n -M PATTERN records.in
6-13:Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

47-54:Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep --show-position -d \n\n -M PATTERN < records.in
6-13:Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

47-54:Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep --color -d \n\n -M PATTERN records.in
Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep --color -d \n\n -M PATTERN < records.in
Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep -H -n -s --color --show-position -d \n\n -M PATTERN records.in
records.in:1:0:6-13:Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

records.in:3:0:47-54:Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.
#### TEST: agrep -H -n -s --color --show-position -d \n\n -M PATTERN < records.in
(standard input):1:0:6-13:Force PATTERN to match only whole words.  A "whole word" is a
substring which either starts at the beginning or the record or is
preceded by a non-word constituent character.  Similarly, the
substring must either end at the end of the record or be followed by a
non-word constituent character.  Word-constituent characters are
alphanumerics (as defined by the current locale) and the underscore
character.  Note that the non-word constituent characters must
surround the match; they cannot be counted as errors.

(standard input):3:0:47-54:Set the record delimiter regular expression to PATTERN.  The text
between two delimiters, before the first delimiter, and after the last
delimiter is considered to be a record.  The default record delimiter
is the regexp "\n", so by default a record is a line.  PATTERN can be
any regular expression that does not match the empty string.  For
example, using -d "^From " defines mail messages as records in a
Mailbox format file.
 c
Exit status 0.