[PATCH] D47273: [bash-completion] Fix tab separation on macOS

Rui Ueyama via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 23 11:45:48 PDT 2018


ruiu added a comment.

Even though Perl may be installed to 99.99% of machines that use this autocomplete script, using perl instead of sed is too much. If we could use perl, we'd have wrote this script entirely in perl in the first place. We shouldn't add a dependency to perl.

I wonder if you could replace \t with \0x09. At least it works on my machine which has GNU sed.


Repository:
  rC Clang

https://reviews.llvm.org/D47273





More information about the cfe-commits mailing list