Mercurial > vim
comparison src/testdir/test11.in @ 63:f6e33184ccc3
updated for version 7.0030
author | vimboss |
---|---|
date | Tue, 04 Jan 2005 21:21:28 +0000 |
parents | 293621502c4d |
children | c93c9cad9618 |
comparison
equal
deleted
inserted
replaced
62:4a6de0783bb5 | 63:f6e33184ccc3 |
---|---|
42 :au FilterReadPre *.out !sed s/e/E/ <afile>.t ><afile> | 42 :au FilterReadPre *.out !sed s/e/E/ <afile>.t ><afile> |
43 :au FilterReadPre *.out !rm <afile>.t | 43 :au FilterReadPre *.out !rm <afile>.t |
44 :au FilterReadPost *.out '[,']s/x/X/g | 44 :au FilterReadPost *.out '[,']s/x/X/g |
45 :e! test.out " Edit the output file | 45 :e! test.out " Edit the output file |
46 :23,$!cat | 46 :23,$!cat |
47 :23,$s/\r$// " remove CR for when sed adds them | |
47 :au! FileReadPre *.gz !gzip -d <afile> | 48 :au! FileReadPre *.gz !gzip -d <afile> |
48 :au FileReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>")) | 49 :au FileReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>")) |
49 :au! FileReadPost *.gz '[,']s/l/L/ | 50 :au! FileReadPost *.gz '[,']s/l/L/ |
50 :$r Xtestfile.gz " Read compressed file | 51 :$r Xtestfile.gz " Read compressed file |
51 :w " write it, after filtering | 52 :w " write it, after filtering |