[pacman-dev] Bash completion

Allan McRae allan at archlinux.org
Wed Feb 24 20:31:41 EST 2010


On 25/02/10 10:50, Xavier Chantry wrote:
> On Thu, Feb 25, 2010 at 1:28 AM, Cedric Staniewski<cedric at gmx.ca>  wrote:
>> Hi,
>> I just replaced my bash completion file with the git version and noticed
>> it tries to execute /bin/seq and fails because seq is located at
>> /usr/bin/seq. Since I could not find anything in coreutils' changelog
>> file I guess the path was wrong right from the start and should be
>> corrected.
>>
>> The other thing I wonder about (still the same commit[1]) is why the
>> (slower) external echo command is preferred to bash's internal
>> implementation.
>>
>> Thanks,
>> Cedric
>>
>> [1]
>> http://projects.archlinux.org/pacman.git/commit/?id=8b3f5f0ce6dca98ca14cc48f5a85188313769b40
>>
>>
>
> No idea if these paths changed, but there are other tools which are in
> /usr/bin and not in /bin :
> expr,seq,sort,find
>
> And in /bin we have sed,grep,ls
>

I am definite that none of the paths changed.  I am to scared of 
breaking stuff to alter the file locations from that historically.

However, this is not portable across distros.  We should check which 
locations are mandated by the FHS and have configure fill in the rest.

Allan



More information about the pacman-dev mailing list