yesno
Free Software Foundation copyright in sourceShell evaluates variable command
SHA-2569c871b9e7a2585f2e75a41845fbb3b3f020becfa0975087aed9a50b547d37172
MaleculeH(Po₂)Md(Bi)
Evidence
1#! /bin/sh
2# Test feature interaction of -C, -v, -o, and -m.
3#
4# Copyright (C) 2001, 2006, 2009-2023 Free Software Foundation, Inc.
5#
6# Copying and distribution of this file, with or without modification,
7# are permitted in any medium without royalty provided the copyright
8# notice and this notice are preserved.
9#
10# This set of tests was started by Charles Levert.
11
12. "${srcdir=.}/init.sh"; path_prepend_ ../src
13
14: ${VERBOSE=} # empty or "1"
15failures=0
16
17# Lines, including terminating LF, contain 10 …
102:43… XJ$XK$XL$XM$XN" \
103 x
104shift
105# Comment out cases that are known to fail. These should be uncommented after the 2.5.4 release. TAA.
106# These should be …
113while test xx != "x$1"; do
114 opts=$(echo "$1" | sed 's/,/ /g')
115 expect="$2"
116 shift 2
117
118 output=$({ grep -F -n -b $opts yes 2>/dev/null; echo "?$?"; sed 's!^!X!'; } < "$yn" | tr '\n' '/')
119
120 if test "$output" != "$expect" || test "$VERBOSE" = "1"; then
121 echo " Test #$t: { grep - …