annotate src/testdir/test105.ok @ 6047:ff3816167b73 v7.4.363

updated for version 7.4.363 Problem: In Windows console typing 0xCE does not work. Solution: Convert 0xCE to K_NUL 3. (Nobuhiro Takasaki et al.)
author Bram Moolenaar <bram@vim.org>
date Wed, 09 Jul 2014 20:51:07 +0200
parents 1e272e318daa
children 8af6e33e4d4c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5690
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 fnamemodify('.', ':p' )[-1:] '/'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 fnamemodify('.', ':p:h' )[-1:] 'r'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 fnamemodify('test.out', ':p' )[-1:] 't'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 fnamemodify('test.out', ':.' ) 'test.out'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 fnamemodify('../testdir/a', ':.' ) 'a'
5751
1e272e318daa updated for version 7.4.220
Bram Moolenaar <bram@vim.org>
parents: 5690
diff changeset
6 fnamemodify('test.out', ':~' ) '~/testdir/test.out'
1e272e318daa updated for version 7.4.220
Bram Moolenaar <bram@vim.org>
parents: 5690
diff changeset
7 fnamemodify('../testdir/a', ':~' ) '~/testdir/a'
5690
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 fnamemodify('../testdir/a', ':t' ) 'a'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 fnamemodify('.', ':p:t' ) ''
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 fnamemodify('test.out', ':p:t' ) 'test.out'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 fnamemodify('test.out', ':p:e' ) 'out'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 fnamemodify('test.out', ':p:t:e' ) 'out'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 fnamemodify('abc.fb2.tar.gz', ':r' ) 'abc.fb2.tar'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 fnamemodify('abc.fb2.tar.gz', ':r:r' ) 'abc.fb2'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 fnamemodify('abc.fb2.tar.gz', ':r:r:r' ) 'abc'
5751
1e272e318daa updated for version 7.4.220
Bram Moolenaar <bram@vim.org>
parents: 5690
diff changeset
16 substitute(fnamemodify('abc.fb2.tar.gz', ':p:r:r'), '.*\(testdir/.*\)', '\1', '') 'testdir/abc.fb2'
5690
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 fnamemodify('abc.fb2.tar.gz', ':e' ) 'gz'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 fnamemodify('abc.fb2.tar.gz', ':e:e' ) 'tar.gz'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 fnamemodify('abc.fb2.tar.gz', ':e:e:e' ) 'fb2.tar.gz'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 fnamemodify('abc.fb2.tar.gz', ':e:e:e:e') 'fb2.tar.gz'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 fnamemodify('abc.fb2.tar.gz', ':e:e:r' ) 'tar'
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 fnamemodify('abc def', ':S' ) '''abc def'''
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 fnamemodify('abc" "def', ':S' ) '''abc" "def'''
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 fnamemodify('abc"%"def', ':S' ) '''abc"%"def'''
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 fnamemodify('abc'' ''def', ':S' ) '''abc''\'''' ''\''''def'''
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26 fnamemodify('abc''%''def', ':S' ) '''abc''\''''%''\''''def'''
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 fnamemodify("abc\ndef", ':S' ) '''abc^@def'''
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28 fnamemodify("abc\ndef", ':S' ) '''abc\^@def'''
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
29 vim: ts=8