while fgrep’s easier on the eyes, grep -F’s more well-known
This commit is contained in:
parent
124e6693e9
commit
61726fd124
6
Build.sh
6
Build.sh
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.691 2015/10/05 17:58:55 tg Exp $'
|
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.692 2015/12/08 20:59:33 tg Exp $'
|
||||||
#-
|
#-
|
||||||
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
# 2011, 2012, 2013, 2014, 2015
|
# 2011, 2012, 2013, 2014, 2015
|
||||||
|
@ -1195,7 +1195,7 @@ tcc)
|
||||||
;;
|
;;
|
||||||
tendra)
|
tendra)
|
||||||
vv '|' "$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN $LIBS -V 2>&1 | \
|
vv '|' "$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN $LIBS -V 2>&1 | \
|
||||||
fgrep -i -e version -e release"
|
grep -F -i -e version -e release"
|
||||||
;;
|
;;
|
||||||
ucode)
|
ucode)
|
||||||
vv '|' "$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN $LIBS -V"
|
vv '|' "$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN $LIBS -V"
|
||||||
|
@ -2409,7 +2409,7 @@ cat >test.sh <<-EOF
|
||||||
args[\${#args[*]}]=\$TMPDIR
|
args[\${#args[*]}]=\$TMPDIR
|
||||||
fi
|
fi
|
||||||
print Testing mksh for conformance:
|
print Testing mksh for conformance:
|
||||||
fgrep -e Mir''OS: -e MIRBSD "\$sflag"
|
grep -F -e Mir''OS: -e MIRBSD "\$sflag"
|
||||||
print "This shell is actually:\\n\\t\$KSH_VERSION"
|
print "This shell is actually:\\n\\t\$KSH_VERSION"
|
||||||
print 'test.sh built for mksh $dstversion'
|
print 'test.sh built for mksh $dstversion'
|
||||||
cstr='\$os = defined \$^O ? \$^O : "unknown";'
|
cstr='\$os = defined \$^O ? \$^O : "unknown";'
|
||||||
|
|
Loading…
Reference in New Issue