File: README.determineaction

package info (click to toggle)
xd 3.11.0-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 304 kB
  • ctags: 102
  • sloc: cpp: 703; makefile: 139
file content (37 lines) | stat: -rw-r--r-- 1,691 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//    The following table is not maintained, currently. See the manpage for
//  more up-to-date info.
//
//    ----------------------------------------------------------
//                            using sub-specifications 
//                           (/ and - separate subspecs)
//    ----------------------------------------------------------
//    intention               no              yes
//    ----------------------------------------------------------
//    from CWD              .abc (11)       ./a/bc (12)
//                                          ./abc
//
//    from $HOME            0abc (21)       0/a/bc  (22)
//                                          0.  (all .* dirs at $HOME)
//         
//    from /                /abc (31)       /a/bc  (32)
//                          /               //abc
//                          (/ sitches to the root directory only)
//
//    from cwd's parent #   #abc (41)       #a/bc  (42)
//    (#: [1-9])                            #/abc
//         
//    from config           abc  (51)       -abc    (51)
//      (- can be used as a pattern indicator at the 1st position)
//    ----------------------------------------------------------
//
//    command[0] determines the initial cell:
//        0   indicates from the current directory onward
//        .   indicates subspecifications from $HOME
//        /   indicates from the root
//        #   (#: [1-9]) indicates specifications from parent #
//        other   indicates from $HOME
//
//        any / or - beyond command[0] automatically switches to
//        sub-specifications (the last / on command is not counted
//        here, as this one was added by Command() itself.