浏览代码

Remove doc on removed feature

Alois Mahdal 9 年前
父节点
当前提交
e43a7e11ee
共有 2 个文件被更改,包括 0 次插入18 次删除
  1. 0
    15
      README.md
  2. 0
    3
      src/include/pretty.sh

+ 0
- 15
README.md 查看文件

28
 
28
 
29
     Note that there is no risk damage to data integrity, it's
29
     Note that there is no risk damage to data integrity, it's
30
     just that the routine is unable to show you desired value.
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 查看文件

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