diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-08-02 15:00:20 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-01-09 02:44:25 -0300 |
commit | fefe8a9adec41a0c6a50935e31fee4ebf657041b (patch) | |
tree | 15db197100b095b95e9d314322951b73a80f28b2 /configure | |
parent | firejail.vim: remove redundant sed -e flags (diff) | |
download | firejail-fefe8a9adec41a0c6a50935e31fee4ebf657041b.tar.gz firejail-fefe8a9adec41a0c6a50935e31fee4ebf657041b.tar.zst firejail-fefe8a9adec41a0c6a50935e31fee4ebf657041b.zip |
firejail.vim: use sed instead of rg
To avoid depending on an extra package without need.
Commands used to search and replace:
$ f=contrib/vim/syntax/firejail.vim; \
printf '%s\n' "$(sed -E \
"s|rg -o '([^']+)' -r '\\\$1'|sed -En 's/.*\\1.*/\\\\1/p'|" "$f")" >"$f"
Note: `sed -E` is not in POSIX.1-2017 (Issue 7), but it has been
accepted into the upcoming POSIX standard version[1] and is supported by
at least GNU, busybox and OpenBSD grep.
Added on commit a1cc4a556 ("Add vim syntax and ftdetect files (#2679)",
2019-05-06).
[1] https://www.austingroupbugs.net/view.php?id=528
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions