Lines Matching refs:PATTERN_EOL
72 # Display the PATTERN_EOL value:
74 echo "INFO: PATTERN_EOL="`echo "$PATTERN_EOL" | od -c`
77 # Test PATTERN_EOL with 'grep' for a regular line.
81 echo 'regular line' | grep "line${PATTERN_EOL}" > "$TESTOUT"
84 echo "INFO: PATTERN_EOL works for regular line with grep."
86 echo "ERROR: PATTERN_EOL does not work for regular line with grep." >&2
92 # Test PATTERN_EOL with 'grep' for a CR line.
97 echo 'CR line ' | grep "line${PATTERN_EOL}" > "$TESTOUT"
100 echo "INFO: PATTERN_EOL works for CR line with grep."
102 echo "ERROR: PATTERN_EOL does not work for CR line with grep." >&2
108 # Test PATTERN_EOL with 'sed' for a regular line.
111 echo 'regular line' | sed -n "/line${PATTERN_EOL}/p" > "$TESTOUT"
113 echo "INFO: PATTERN_EOL works for regular line with sed."
115 echo "ERROR: PATTERN_EOL does not work for regular line with sed." >&2
121 # Test PATTERN_EOL with 'sed' for a CR line.
125 echo 'CR line ' | sed -n "/line${PATTERN_EOL}/p" > "$TESTOUT"
127 echo "INFO: PATTERN_EOL works for CR line with sed."
129 echo "ERROR: PATTERN_EOL does not work for CR line with sed." >&2