summaryrefslogtreecommitdiff
path: root/trip.rc
diff options
context:
space:
mode:
authortjg <tjg>1999-12-10 10:39:44 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:17 +0100
commit09cad2440e9990cde808747f640c368124c17328 (patch)
tree911e2ed2d0ba5a72808476e3785e956745a4597d /trip.rc
parentb2569daad007df645bd39513a5f45e8b5743d243 (diff)
1999-12-10
Bug: absolute globs do still need a special case. `/*' works again now, but we still avoid creating names like `//tmp/foo'.
Diffstat (limited to 'trip.rc')
-rw-r--r--trip.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/trip.rc b/trip.rc
index 0b9ca0f..a381db4 100644
--- a/trip.rc
+++ b/trip.rc
@@ -565,3 +565,7 @@ expect foo bar qux
$rc -s foo bar qux <<'eof'
echo $*
eof
+
+# Believe it or not, I broke root directory globbing in rc-1.6b1.
+x=/*
+~ '/*' $^x && fail root directory globbing