Bläddra i källkod

Remove doc on removed feature

Alois Mahdal 8 år sedan
förälder
incheckning
e43a7e11ee
2 ändrade filer med 0 tillägg och 18 borttagningar
  1. 0
    15
      README.md
  2. 0
    3
      src/include/pretty.sh

+ 0
- 15
README.md Visa fil

@@ -28,18 +28,3 @@ NOTES
28 28
 
29 29
     Note that there is no risk damage to data integrity, it's
30 30
     just that the routine is unable to show you desired value.
31
-
32
-
33
- *  if `debug -v "x*:` is used, `x*` apparently tries to match
34
-    *filenames* first, and only if there is no match, it goes
35
-    on to match variable names.  This does not seem to affect
36
-    `@`, though.
37
-
38
-    Probably some eval pitfall.  For now I'll just remove `*`.
39
-    If somebody can fix it, we can re-add it.
40
-
41
-    On the other hand, I don't even understand how `*` should
42
-    exactly behave compared to `@`, so having it disabled does
43
-    not seem like such a loss.  And by the way, did you know
44
-    that the eval is evil?  So in the end, maybe we should not
45
-    have this feature in the first place... :)

+ 0
- 3
src/include/pretty.sh Visa fil

@@ -46,7 +46,6 @@ debug() {
46 46
     #
47 47
     #     debug "var1=$var1" "var2=$var2" "result=$result"
48 48
     #     debug -v var1 var2 result
49
-    #     debug -v "var@ result"
50 49
     #
51 50
     $SHELLFU_DEBUG || return 0
52 51
     _pretty__echo "$@"
@@ -393,8 +392,6 @@ _pretty__echo_vars() {
393 392
     #
394 393
     # Report value of each named variable
395 394
     #
396
-    # If the last char is '@', try to use it as wildcard
397
-    #
398 395
     local varname
399 396
     for varname in "$@";
400 397
     do