comparison src/testdir/test11.in @ 167:c93c9cad9618

updated for version 7.0051
author vimboss
date Tue, 22 Feb 2005 08:39:57 +0000
parents f6e33184ccc3
children 18ee39301b82
comparison
equal deleted inserted replaced
166:3a28ed993bbe 167:c93c9cad9618
36 :au BufReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>")) 36 :au BufReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>"))
37 :au BufReadPost *.gz call rename(expand("<afile>"), expand("<afile>:r")) 37 :au BufReadPost *.gz call rename(expand("<afile>"), expand("<afile>:r"))
38 :au BufReadPost *.gz !gzip <afile>:r 38 :au BufReadPost *.gz !gzip <afile>:r
39 :e! Xtestfile.gz " Edit compressed file 39 :e! Xtestfile.gz " Edit compressed file
40 :w>>test.out " Append it to the output file 40 :w>>test.out " Append it to the output file
41 :set shelltemp " need temp files here
41 :au FilterReadPre *.out call rename(expand("<afile>"), expand("<afile>").".t") 42 :au FilterReadPre *.out call rename(expand("<afile>"), expand("<afile>").".t")
42 :au FilterReadPre *.out !sed s/e/E/ <afile>.t ><afile> 43 :au FilterReadPre *.out !sed s/e/E/ <afile>.t ><afile>
43 :au FilterReadPre *.out !rm <afile>.t 44 :au FilterReadPre *.out !rm <afile>.t
44 :au FilterReadPost *.out '[,']s/x/X/g 45 :au FilterReadPost *.out '[,']s/x/X/g
45 :e! test.out " Edit the output file 46 :e! test.out " Edit the output file