NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/48534: bogus file names in source tree

On Sun, Jan 26, 2014 at 03:55:01AM +0000, Aleksej Saushev wrote:
>  > On Sat, Jan 25, 2014 at 08:03:26AM +0400, Aleksej Saushev wrote:
>  >> I think that the source code management system and regular maintainance
>  >> scripts ought to be fixed instead.
>  >
>  > Neither the source code management nor any regular maintaninance scripts
>  > run on TNF machines have any problems with the files in question. There
>  > is nothing to fix here.
>  >
>  > However: besides the ones in llvm we have no files with spaces in
>  > the repository. This simplifies a lot of ad-hoc tasks for developers
>  > (like find . -name ... | xargs rm), which in general need a lot of 
> thinking,
>  > testing or use of other/more complex tools.
>  >
>  > Giving this up for no good reason is just very lame.
>  No, it is not lame in any way. It is important to learn working with
>  such files in ad hoc tasks. In particular, we should learn to avoid
>  habits of using broken tools like xargs. If we need to improve tools
>  in order to achieve that, we ought to improve them rather than run away
>  from it. You don't help to improve anything if you force everyone to
>  stick to old conventions that support old habits.

Aleksej, there is a reason find(1) has a -print0 clause, and xargs(1)
has a -0 argument.

Martin's right, we should keep these tests.


Home | Main Index | Thread Index | Old Index