commit bash-20141205 snapshot

This commit is contained in:
Chet Ramey
2015-01-12 10:50:34 -05:00
parent 2bfa477ae8
commit 8742afefb5
25 changed files with 27093 additions and 1810 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
BUILD_DIR=/usr/local/build/bash/bash-current
BUILD_DIR=/usr/local/build/chet/bash/bash-current
THIS_SH=$BUILD_DIR/bash
PATH=$PATH:$BUILD_DIR
+7 -5
View File
@@ -1,3 +1,5 @@
EMPTY=/tmp/empty
shopt -s globstar
s()
{
@@ -8,8 +10,8 @@ p()
printf '<%q>\n' "$@"
}
mkdir -p /tmp/empty/a/a/a
cd /tmp/empty
mkdir -p $EMPTY/a/a/a
cd $EMPTY
# good
p **
@@ -17,8 +19,8 @@ p **/**
p **/**/**
rm -rf a
mkdir -p /tmp/empty/{a,b}/{a,b}/{a,b}/{a,b}
cd /tmp/empty
mkdir -p $EMPTY/{a,b}/{a,b}/{a,b}/{a,b}
cd $EMPTY
# good
s '**/a'
@@ -77,4 +79,4 @@ s '**/**/a/**'
p **/**/a/**
cd -
rm -rf /tmp/empty
rm -rf $EMPTY
+50
View File
@@ -0,0 +1,50 @@
:; ./shx
sh:
<&$fd ok
nlbq Mon Aug 3 02:45:00 EDT 1992
bang geoff
quote 712824302
setbq defmsgid=<1992Aug3.024502.6176@host>
bgwait sleep done... wait 6187
bash:
<&$fd ok
nlbq Mon Aug 3 02:45:09 EDT 1992
bang geoff
quote 712824311
setbq defmsgid=<1992Aug3.024512.6212@host>
bgwait sleep done... wait 6223
ash:
<&$fd shx1: 4: Syntax error: Bad fd number
nlbq Mon Aug 3 02:45:19 EDT 1992
bang geoff
quote getdate: `"now"' not a valid date
setbq defmsgid=<1992Aug3.` echo 024521
bgwait sleep done... wait 6241
ksh:
<&$fd ok
nlbq ./shx: 6248 Memory fault - core dumped
bang geoff
quote getdate: `"now"' not a valid date
setbq defmsgid=<1992Aug3.024530.6257@host>
bgwait no such job: 6265
wait 6265
sleep done...
zsh:
<&$fd ok
nlbq Mon Aug 3 02:45:36 EDT 1992
bang shx3: event not found: /s/ [4]
quote 712824337
setbq defmsgid=<..6290@host>
bgwait shx7: unmatched " [9]
sleep done...
:;
+10
View File
@@ -0,0 +1,10 @@
#! /bin/sh
for cmd in sh bash ash ksh zsh
do
echo
echo $cmd:
for demo in shx?
do
$cmd $demo
done
done