Mercurial > vim
view runtime/tools/mve.awk @ 30541:fdf704505754 v9.0.0606
patch 9.0.0606: system() opens a terminal window when "!" is in 'guioptions'
Commit: https://github.com/vim/vim/commit/524c853e5ef0392fcf28e449946e05e7e3046e67
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 27 15:48:20 2022 +0100
patch 9.0.0606: system() opens a terminal window when "!" is in 'guioptions'
Problem: system() opens a terminal window when using the GUI and "!" is in
'guioptions'.
Solution: Do not use a terminal window when the SHELL_SILENT flag is used.
(closes #11202)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 27 Sep 2022 17:00:13 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#!/usr/bin/nawk -f # # Change "nawk" to "awk" or "gawk" if you get errors. # # Make Vim Errors # Processes errors from cc for use by Vim's quick fix tools # specifically it translates the ---------^ notation to a # column number # BEGIN { FS="[:,]" } /^cfe/ { file=$3 msg=$5 split($4,s," ") line=s[2] } # You may have to substitute a tab character for the \t here: /^[\t-]*\^/ { p=match($0, ".*\\^" ) col=RLENGTH-2 printf("%s, line %d, col %d : %s\n", file,line,col,msg) }