[Bash-completion-devel] [SCM] bash-completion branch, master, updated. 1.90-107-g08a2264

Ville Skyttä ville.skytta at iki.fi
Tue Dec 20 20:44:19 UTC 2011


On 2011-12-20 18:10, Igor Murzov wrote:
> The following commit has been merged in the master branch:
> commit f17f31057fc2df7a1d0c60ca81f400905ccd41bb
> Author: Igor Murzov <e-mail at date.by>
> Date:   Tue Dec 20 00:14:40 2011 +0400
> 
>     gcc: Remove unnecessary calls to `tr` and `sort`.
[...]
> -           tr '\t' ' ' | \
> +           sed -e 's/\t/ /g' -e [...]

The tr is not unnecessary, or at least it should not be replaced with
sed that way -- the \t is not POSIX compliant and I've verified that it
breaks at least on Solaris and FreeBSD.  See
http://pubs.opengroup.org/onlinepubs/9699919799/ (Shell & Utilities ->
Utilities -> sed).




More information about the Bash-completion-devel mailing list