mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 18:22:25 +02:00
commit bash-20080828 snapshot
This commit is contained in:
+14
-12
@@ -6,28 +6,30 @@ func()
|
||||
echo "to stderr" >&2
|
||||
}
|
||||
|
||||
rm -f $TMPDIR/foo
|
||||
TMPFN=$TMPDIR/foo-$$
|
||||
|
||||
echo hey > $TMPDIR/foo
|
||||
func &>> $TMPDIR/foo
|
||||
rm -f $TMPFN
|
||||
|
||||
cat $TMPDIR/foo
|
||||
echo hey > $TMPFN
|
||||
func &>> $TMPFN
|
||||
|
||||
cat $TMPFN
|
||||
|
||||
echo
|
||||
func &> $TMPDIR/foo
|
||||
func &> $TMPFN
|
||||
|
||||
cat $TMPDIR/foo
|
||||
cat $TMPFN
|
||||
|
||||
echo
|
||||
func >$TMPDIR/foo
|
||||
cat $TMPDIR/foo
|
||||
func >$TMPFN
|
||||
cat $TMPFN
|
||||
|
||||
echo
|
||||
echo hey > $TMPDIR/foo
|
||||
func >> $TMPDIR/foo
|
||||
cat $TMPDIR/foo
|
||||
echo hey > $TMPFN
|
||||
func >> $TMPFN
|
||||
cat $TMPFN
|
||||
|
||||
rm -f $TMPDIR/foo
|
||||
rm -f $TMPFN
|
||||
|
||||
logfunc()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user