瀏覽代碼

Update doc after renaming config.sh

Alois Mahdal 9 年之前
父節點
當前提交
421f9e6c28
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      src/doc/ffoo.3.sh

+ 4
- 4
src/doc/ffoo.3.sh 查看文件

@@ -46,10 +46,10 @@ FFOO_PRETTY=your_own_format
46 46
 
47 47
 
48 48
 ##
49
-## config.sh -- config file grepping
49
+## inigrep.sh -- inigrep file grepping
50 50
 ##
51 51
 
52
-ffoo import config
52
+ffoo import inigrep
53 53
 
54 54
 # a sample INI file
55 55
 #
@@ -72,7 +72,7 @@ EOF
72 72
 
73 73
 # read as you need
74 74
 #
75
-FFOO_CONFIG_PATH=$HOME/.demo            # just tell us the path
75
+FFOO_INIGREP_PATH=$HOME/.demo           # just tell us the path
76 76
 inigrep -s foo.bar -k baz foo.ini       # prints "qux"
77 77
 inigrep -p foo.bar.baz foo.ini          # ...short for above
78 78
 inigrep -p foo.bar.baz                  # ...even shorter (foo hints foo.ini)
@@ -93,7 +93,7 @@ EOF
93 93
 
94 94
 # this works similar to PATH
95 95
 #
96
-FFOO_CONFIG_PATH=$HOME/.demo-private:$HOME/.demo
96
+FFOO_INIGREP_PATH=$HOME/.demo-private:$HOME/.demo
97 97
 inigrep    -p foo.bar.baz2              # the private file wins -- "secret qux!"
98 98
 inigrep -j -p foo.bar.baz2              # but -j causes them to be joined:
99 99
                                         #   secret qux