Subversion Repositories wimsdev

Rev

Rev 5766 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5766 Rev 11219
Line 1... Line 1...
1
!! +exec+ +var+ +string+
1
!! +exec+ +var+ +string+
-
 
2
tit:text
2
$lst_tit text $lst_titend$type_both
3
type:$type_both
3
  $(lst_syntax)text $emph operation $emphend $emph parameter $emphend</tt>
4
syntax:!text `operation' `parameter'
4
  $lst_mean ÕâÊǼ«ÆäÓÐÁ¦µÄÎı¾²Ù×÷¹¤¾ß,
5
mean:ÕâÊǼ«ÆäÓÐÁ¦µÄÎı¾²Ù×÷¹¤¾ß,\
5
  ¿ÉÒÔ¿ìËٵضԺܳ¤µÄÎÄ×Ö´®×÷¸´ÔӵĴ¦Àí. <br/>
6
  ¿ÉÒÔ¿ìËٵضԺܳ¤µÄÎÄ×Ö´®×÷¸´ÔӵĴ¦Àí. <br/>\
6
  Ðí¶à²Ù×÷ $emph operation$emphend ÄÜʹÓÃÑÚÂë(mask). ÑÚÂëÊÇÒ»¸ö '0' '1' ÐòÁÐ.
7
  Ðí¶à²Ù×÷ `operation' ÄÜʹÓÃÑÚÂë(mask). ÑÚÂëÊÇÒ»¸ö '0' '1' ÐòÁÐ.\
7
  ¶ÔÓÚ½ÓÊÜÑÚÂëµÄ²Ù×÷, Ö»¶ÔÑÚÂëΪ '1' µÄλÖõÄ×Ö·û×÷´¦Àí
8
  ¶ÔÓÚ½ÓÊÜÑÚÂëµÄ²Ù×÷, Ö»¶ÔÑÚÂëΪ '1' µÄλÖõÄ×Ö·û×÷´¦Àí\
8
  (ÕâÏ൱ÓÚ$emph ÑÚ¸Ç$emphendÁË '0' ¶ÔÓ¦µÄ×Ö·û).
9
  (ÕâÏ൱ÓÚ`ÑÚ¸Ç'ÁË '0' ¶ÔÓ¦µÄ×Ö·û).\
9
  ¿ÕµÄÑÚÂëÏ൱ÓÚÈ«²¿ÓÉ '1' ¹¹³É. <br/>
10
  ¿ÕµÄÑÚÂëÏ൱ÓÚÈ«²¿ÓÉ '1' ¹¹³É. <br/>\
10
  Ì«¶ÌµÄÑÚÂ뽫±»Öظ´Ê¹ÓÃ, ³ý·ÇËüµÄ½áβΪ '+', ÕâʱʣϵÄȫȡΪ '1',
11
  Ì«¶ÌµÄÑÚÂ뽫±»Öظ´Ê¹ÓÃ, ³ý·ÇËüµÄ½áβΪ '+', ÕâʱʣϵÄȫȡΪ '1',\
11
  »òÒÔ '-' ½áβ, ÕâʱʣϵÄȫȡΪ '0'. <br/>
12
  »òÒÔ '-' ½áβ, ÕâʱʣϵÄȫȡΪ '0'. <br/>\
12
  ĿǰÒÑʵÏֵIJÙ×÷ $emph operation$emphend ÓÐÒÔϼ¸ÖÖ.
13
  ĿǰÒÑʵÏֵIJÙ×÷ `operation' ÓÐÒÔϼ¸ÖÖ.\
13
  <ul>
14
  <ul>\
14
   <li><tt>!text common $emph text1$emphend and $emph text2$emphend
15
   <li><tt>!text common `text1' and `text2'\
15
    [mask $emph maskstring$emphend]</tt> <br/>
16
    [mask `maskstring']\
-
 
17
 <br/>\
16
    °Ñ $emph text1$emphend ÖÐÓë $emph text2$emphend µÄ¶ÔÓ¦×Ö·ûÏàͬ,
18
    °Ñ `text1' ÖÐÓë `text2' µÄ¶ÔÓ¦×Ö·ûÏàͬ,\
17
    ÓÖ²»±» $emph maskstring$emphend ÑڸǵÄ×Ö·ûÒ»¸öÒ»¸öµØÌáÈ¡³öÀ´.
19
    ÓÖ²»±» `maskstring' ÑڸǵÄ×Ö·ûÒ»¸öÒ»¸öµØÌáÈ¡³öÀ´.\
18
   <li><tt>!text compare $emph text1$emphend and $emph text2$emphend
20
   <li><tt>!text compare `text1' and `text2'\
-
 
21
    \
19
    </tt> <br/>
22
 <br/>\
20
    ¶Ô $emph text1 $emphend Óë $emph text2$emphend µÄ×Ö·ûÖð¸ö±È½Ï,
23
    ¶Ô `text1' Óë `text2' µÄ×Ö·ûÖð¸ö±È½Ï,\
21
    ·µ»ØÒ»¸öÑÚÂë´®, ÆäÖÐÁ½¸ö´®µÄ¶ÔÓ¦×Ö·ûÏàͬµÄλÖÃÈ¡ '0', ÆäËüλÖÃÈ¡ '1'.
24
    ·µ»ØÒ»¸öÑÚÂë´®, ÆäÖÐÁ½¸ö´®µÄ¶ÔÓ¦×Ö·ûÏàͬµÄλÖÃÈ¡ '0', ÆäËüλÖÃÈ¡ '1'.\
22
   <li><tt>!text copy $emph text$emphend
25
   <li><tt>!text copy `text'\
23
    [mask $emph maskstring$emphend]</tt> <br/>
26
    [mask `maskstring']</tt> <br/>\
24
    ·µ»Ø $emph text$emphend ÄÚ²»±»ÑڸǵÄ×Ö·û.
27
    ·µ»Ø `text' ÄÚ²»±»ÑڸǵÄ×Ö·û.\
25
   <li><tt>!text count $emph charlist$emphend in $emph text$emphend
28
   <li><tt>!text count `charlist' in `text'\
26
    [mask $emph maskstring$emphend]</tt> <br/>
29
    [mask `maskstring']</tt> <br/>\
27
    ·µ»Ø $emph text$emphend ÄڼȲ»±» $emph maskstring$emphend ÑÚ¸Ç,
30
    ·µ»Ø `text' ÄڼȲ»±» `maskstring' ÑÚ¸Ç,\
28
    ÓÖ°üº¬ÔÚ $emph charlist$emphend ÀïµÄ×Ö·ûµÄ¸öÊý.
31
    ÓÖ°üº¬ÔÚ `charlist' ÀïµÄ×Ö·ûµÄ¸öÊý.\
29
   <li><tt>!text diff $emph text1$emphend from $emph text2$emphend
32
   <li><tt>!text diff `text1' from `text2'\
30
    [mask $emph maskstring$emphend]</tt> <br/>
33
    [mask `maskstring']</tt> <br/>\
31
    °Ñ $emph text1$emphend ÖÐÓë $emph text2$emphend µÄ¶ÔÓ¦×Ö·û²»Í¬,
34
    °Ñ `text1' ÖÐÓë `text2' µÄ¶ÔÓ¦×Ö·û²»Í¬,\
32
    ÓÖ²»±» $emph maskstring$emphend ÑڸǵÄ×Ö·ûÒ»¸öÒ»¸öµØÌáÈ¡³öÀ´. <br/>
35
    ÓÖ²»±» `maskstring' ÑڸǵÄ×Ö·ûÒ»¸öÒ»¸öµØÌáÈ¡³öÀ´. <br/>\
33
    (diff µÄͬÒå´Ê: differ).
36
    (diff µÄͬÒå´Ê: differ).\
34
   <li><tt>!text expand $emph text$emphend using $emph maskstring$emphend
37
   <li><tt>!text expand `text' using `maskstring'\
35
    </tt> <br/>
38
    </tt> <br/>\
36
    Éú³ÉÕâÑùµÄ×Ö·û´®: Óë $emph maskstring$emphend ÖÐµÄ '0' ¶ÔÓ¦µÄλÖñäΪ ' '(¿Õ¸ñ),
39
    Éú³ÉÕâÑùµÄ×Ö·û´®: Óë `maskstring' ÖÐµÄ '0' ¶ÔÓ¦µÄλÖñäΪ ' '(¿Õ¸ñ),\
37
    Óë $emph maskstring$emphend ÖÐµÄ '1' ¶ÔÓ¦µÄλÖÃȡΪ $emph text$emphend
40
    Óë `maskstring' ÖÐµÄ '1' ¶ÔÓ¦µÄλÖÃȡΪ `text'\
38
    ÖеÄ×Ö·û, $emph text$emphend ÖеÄ×Ö·û±»Ò»¸öÒ»¸öµØÊ¹ÓÃ.
41
    ÖеÄ×Ö·û, `text' ÖеÄ×Ö·û±»Ò»¸öÒ»¸öµØÊ¹ÓÃ.\
39
    Ö±ÖÁ $emph text$emphend µÄ×Ö·û±»Óþ¡, »òÉú³ÉµÄ×Ö·û´®´ïµ½³¤¶ÈÏÞÖÆ²ÅÖÕÖ¹.
42
    Ö±ÖÁ `text' µÄ×Ö·û±»Óþ¡, »òÉú³ÉµÄ×Ö·û´®´ïµ½³¤¶ÈÏÞÖÆ²ÅÖÕÖ¹.\
40
   <li><tt>!text insert $emph text1$emphend into $emph text2$emphend
43
   <li><tt>!text insert `text1' into `text2'\
41
    [mask $emph maskstring$emphend]</tt> <br/>
44
    [mask `maskstring']</tt> <br/>\
42
    °Ñ $emph text2$emphend ÖÐδ±»ÑڸǵÄλÖÃÓà $emph text1$emphend µÄ×Ö·ûÈ¡´ú,
45
    °Ñ `text2' ÖÐδ±»ÑڸǵÄλÖÃÓà `text1' µÄ×Ö·ûÈ¡´ú,\
43
    È»ºó·µ»Ø $emph text2$emphend. $emph text1 $emphend µÄ×Ö·û±»Ò»¸öÒ»¸öµØÊ¹ÓÃ
46
    È»ºó·µ»Ø `text2'. `text1' µÄ×Ö·û±»Ò»¸öÒ»¸öµØÊ¹ÓÃ\
44
    (ÓëÑÚÂëÎÞ¹Ø), Ö±ÖÁ $emph text1$emphend ÀïûÓÐ×Ö·ûʱ²Å½áÊø.
47
    (ÓëÑÚÂëÎÞ¹Ø), Ö±ÖÁ `text1' ÀïûÓÐ×Ö·ûʱ²Å½áÊø.\
45
   <li><tt>!text interact $emph text1$emphend and $emph text2$emphend
48
   <li><tt>!text interact `text1' and `text2'\
46
    table $emph itab$emphend [mask $emph maskstring$emphend]</tt> <br/>
49
    table `itab' [mask `maskstring']</tt> <br/>\
47
    ·µ»ØÒ»¸öеÄÎı¾, ËüÊÇ $emph text1$emphend Óë $emph text2$emphend
50
    ·µ»ØÒ»¸öеÄÎı¾, ËüÊÇ `text1' Óë `text2'\
48
    µÄ¶ÔӦλÖõÄ×Ö·ûÏ໥×÷ÓõĽá¹û. Ï໥×÷ÓõĹæÔòÓÉ $emph itab$emphend ¶¨Òå. <br/>
51
    µÄ¶ÔӦλÖõÄ×Ö·ûÏ໥×÷ÓõĽá¹û. Ï໥×÷ÓõĹæÔòÓÉ `itab' ¶¨Òå. <br/>\
49
    $emph itab$emphend ÓÐ n+1 ÐÐ, ÿÐÐ n ¸ö×Ö·û. ºóÃæµÄ n
52
    `itab' ÓÐ n+1 ÐÐ, ÿÐÐ n ¸ö×Ö·û. ºóÃæµÄ n\
50
    ÐÐ×Ö·û¶¨ÒåÁËÏà¶ÔÓÚµÚÒ»ÐÐ×Ö·ûµÄ³Ë·¨±í.
53
    ÐÐ×Ö·û¶¨ÒåÁËÏà¶ÔÓÚµÚÒ»ÐÐ×Ö·ûµÄ³Ë·¨±í.\
51
    <br/>
54
    <br/>\
52
    ³Ë·¨±í²»±Ø¶Ô³Æ. ÕâʱµÄÐжÔÓ¦ÓÚ $emph text1$emphend ÀïµÄ×Ö·û,
55
    ³Ë·¨±í²»±Ø¶Ô³Æ. ÕâʱµÄÐжÔÓ¦ÓÚ `text1' ÀïµÄ×Ö·û,\
53
    ÁÐÔò¶ÔÓ¦ÓÚ $emph text2$emphend ÀïµÄ×Ö·û.
56
    ÁÐÔò¶ÔÓ¦ÓÚ `text2' ÀïµÄ×Ö·û.\
54
    <br/>
57
    <br/>\
55
    Èç¹û $emph text1$emphend »ò $emph text2$emphend µÄ¶ÔÓ¦×Ö·ûÖÐÓÐÒ»¸ö²»³öÏÖÔÚ
58
    Èç¹û `text1' »ò `text2' µÄ¶ÔÓ¦×Ö·ûÖÐÓÐÒ»¸ö²»³öÏÖÔÚ\
56
    $emph itab$emphend µÄµÚÒ»ÐÐ, Ôò¶ÔӦλÖõÄÏ໥×÷Óýá¹ûÊÇ¿Õ(ʲôҲûÓÐ).
59
    `itab' µÄµÚÒ»ÐÐ, Ôò¶ÔӦλÖõÄÏ໥×÷Óýá¹ûÊÇ¿Õ(ʲôҲûÓÐ).\
57
    ÀàËÆµØ, ±»ÑڸǵÄλÖÃÒ²±»ºöÂÔ.
60
    ÀàËÆµØ, ±»ÑڸǵÄλÖÃÒ²±»ºöÂÔ.\
58
    <br/>
61
    <br/>\
59
    Èç¹û $emph text1$emphend Óë $emph text2$emphend Óв»Í¬³¤¶È,
62
    Èç¹û `text1' Óë `text2' Óв»Í¬³¤¶È,\
60
    ¾Í°Ñ³¤µÄ´®½Ø¶Ì.
63
    ¾Í°Ñ³¤µÄ´®½Ø¶Ì.\
61
   <li><tt>!text mark $emph charlist$emphend in $emph text$emphend
64
   <li><tt>!text mark `charlist' in `text'\
62
    </tt> <br/>
65
    </tt> <br/>\
63
    ·µ»ØÒ»¸öÑÚÂë´®, Èç¹û $emph text$emphend µÄ×Ö·û³öÏÖÔÚ $emph charlist$emphend ÖÐ,
66
    ·µ»ØÒ»¸öÑÚÂë´®, Èç¹û `text' µÄ×Ö·û³öÏÖÔÚ `charlist' ÖÐ,\
64
    ÑÚÂë´®µÄÏàӦλÖÃÈ¡ '1', ·ñÔòÈ¡ '0'.
67
    ÑÚÂë´®µÄÏàӦλÖÃÈ¡ '1', ·ñÔòÈ¡ '0'.\
65
   <li><tt>!text max $emph text1$emphend and $emph text2$emphend
68
   <li><tt>!text max `text1' and `text2'\
66
    [mask $emph maskstring$emphend]</tt> <br/>
69
    [mask `maskstring']</tt> <br/>\
67
    ·µ»ØÒ»¸ö×Ö·û´®, Æä×Ö·ûÊÇ $emph text1$emphend Óë $emph text2$emphend
70
    ·µ»ØÒ»¸ö×Ö·û´®, Æä×Ö·ûÊÇ `text1' Óë `text2'\
68
    µÄ¶ÔÓ¦×Ö·ûÖÐ ASCII Âë½Ï´óµÄÄǸö. ³¤¶ÈµÈÓڽϳ¤µÄ´®. ÑڸǵÄλÖñ»Ìø¹ý.
71
    µÄ¶ÔÓ¦×Ö·ûÖÐ ASCII Âë½Ï´óµÄÄǸö. ³¤¶ÈµÈÓڽϳ¤µÄ´®. ÑڸǵÄλÖñ»Ìø¹ý.\
69
   <li><tt>!text min $emph text1$emphend and $emph text2$emphend
72
   <li><tt>!text min `text1' and `text2'\
70
    [mask $emph maskstring$emphend]</tt> <br/>
73
    [mask `maskstring']</tt> <br/>\
71
    ·µ»ØÒ»¸ö×Ö·û´®, Æä×Ö·ûÊÇ $emph text1$emphend Óë $emph text2$emphend
74
    ·µ»ØÒ»¸ö×Ö·û´®, Æä×Ö·ûÊÇ `text1' Óë `text2'\
72
    µÄ¶ÔÓ¦×Ö·ûÖÐ ASCII Âë½ÏСµÄÄǸö. ³¤¶ÈµÈÓڽ϶̵Ĵ®. ÑڸǵÄλÖñ»Ìø¹ý.
75
    µÄ¶ÔÓ¦×Ö·ûÖÐ ASCII Âë½ÏСµÄÄǸö. ³¤¶ÈµÈÓڽ϶̵Ĵ®. ÑڸǵÄλÖñ»Ìø¹ý.\
73
   <li><tt>!text occur $emph charlist$emphend in $emph text$emphend
76
   <li><tt>!text occur `charlist' in `text'\
74
    [mask $emph maskstring$emphend]</tt> <br/>
77
    [mask `maskstring']</tt> <br/>\
75
    ·µ»Ø $emph charlist$emphend ÖгöÏÖÔÚ $emph text$emphend
78
    ·µ»Ø `charlist' ÖгöÏÖÔÚ `text'\
76
    Àïδ±»ÑÚ¸ÇλÖõÄ×Ö·û. <br/>
79
    Àïδ±»ÑÚ¸ÇλÖõÄ×Ö·û. <br/>\
77
    (occur µÄͬÒå´Ê: appear, occurrence).
80
    (occur µÄͬÒå´Ê: appear, occurrence).\
78
   <li><tt>!text remove $emph charlist$emphend in $emph text$emphend
81
   <li><tt>!text remove `charlist' in `text'\
79
    [mask $emph maskstring$emphend]</tt> <br/>
82
    [mask `maskstring']</tt> <br/>\
80
    ·µ»Ø×Ö·û´® $emph text$emphend, ÆäÖгýÈ¥Á˱»ÑڸǵÄ×Ö·ûÒÔ¼°³öÏÖÔÚ
83
    ·µ»Ø×Ö·û´® `text', ÆäÖгýÈ¥Á˱»ÑڸǵÄ×Ö·ûÒÔ¼°³öÏÖÔÚ\
81
    $emph charlist$emphend ÀïµÄ×Ö·û. <br/>
84
    `charlist' ÀïµÄ×Ö·û. <br/>\
82
    (remove µÄͬÒå´Ê: drop, delete).
85
    (remove µÄͬÒå´Ê: drop, delete).\
83
   <li><tt>!text reorder $emph text$emphend by $emph orderlist$emphend
86
   <li><tt>!text reorder `text' by `orderlist'\
84
    </tt> <br/>
87
    </tt> <br/>\
85
    ·µ»ØÀûÓÃÅÅÐò±í $emph orderlist$emphend ÖØÅŹýµÄ $emph text$emphend.
88
    ·µ»ØÀûÓÃÅÅÐò±í `orderlist' ÖØÅŹýµÄ `text'.\
86
    µ± $emph orderlist$emphend ±È $emph text$emphend ¶Ìʱ, ÖØÅŽ«Ñ­»·½øÐÐ. <br/>
89
    µ± `orderlist' ±È `text' ¶Ìʱ, ÖØÅŽ«Ñ­»·½øÐÐ. <br/>\
87
    $emph orderlist$emphend ±ØÐëÊǼ¯ºÏ {1,...,n} µÄÅÅÁбí.
90
    `orderlist' ±ØÐëÊǼ¯ºÏ {1,...,n} µÄÅÅÁбí.\
88
    Èç¹û $emph orderlist$emphend º¬Óг¬½çµÄÕûÊý, ·µ»ØµÄÊǿմ®.
91
    Èç¹û `orderlist' º¬Óг¬½çµÄÕûÊý, ·µ»ØµÄÊǿմ®.\
89
    µ«ÊÇ¶Ô $emph orderlist$emphend µÄÏî²¢²»×÷ΨһÐÔ¼ì²é.
92
    µ«ÊÇ¶Ô `orderlist' µÄÏî²¢²»×÷ΨһÐÔ¼ì²é.\
90
   <li><tt>!text repeat $emph text$emphend to $emph len$emphend
93
   <li><tt>!text repeat `text' to `len'\
91
    </tt> <br/>
94
    </tt> <br/>\
92
    Ñ­»·µØÖظ´´® $emph text$emphend, Ö±ÖÁ´ïµ½³¤¶È $emph len$emphend.
95
    Ñ­»·µØÖظ´´® `text', Ö±ÖÁ´ïµ½³¤¶È `len'.\
93
   <li><tt>!text reverse $emph text$emphend</tt> <br/>
96
   <li><tt>!text reverse `text'</tt> <br/>\
94
    µßµ¹ $emph text$emphend µÄ´ÎÐò.
97
    µßµ¹ `text' µÄ´ÎÐò.\
95
   <li><tt>!text select $emph charlist$emphend in $emph text$emphend
98
   <li><tt>!text select `charlist' in `text'\
96
    [mask $emph maskstring$emphend]</tt> <br/>
99
    [mask `maskstring']</tt> <br/>\
97
    ·µ»Ø×Ö·û´® $emph text$emphend, ÆäÖгýÈ¥Á˱»ÑڸǵÄ×Ö·ûÒÔ¼°²»³öÏÖÔÚ
100
    ·µ»Ø×Ö·û´® `text', ÆäÖгýÈ¥Á˱»ÑڸǵÄ×Ö·ûÒÔ¼°²»³öÏÖÔÚ\
98
    $emph charlist$emphend ÀïµÄ×Ö·û. <br/>
101
    `charlist' ÀïµÄ×Ö·û. <br/>\
99
    (select µÄͬÒå´Ê: pick, pickup).
102
    (select µÄͬÒå´Ê: pick, pickup).\
100
  </ul>
103
  </ul>
101
 
-
 
102
 
-