annotate src/testdir/test105.ok @ 7691:fd4175b669e2 v7.4.1144

commit https://github.com/vim/vim/commit/17576a1e33d71b5602cee86bf220a806c8412605 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 20 20:05:44 2016 +0100 patch 7.4.1144 Problem: Can't build on several systems. Solution: Include float.h. (Christian Robinson, closes https://github.com/vim/vim/issues/570 https://github.com/vim/vim/issues/571)
author Christian Brabandt <cb@256bit.org>
date Wed, 20 Jan 2016 20:15:06 +0100
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