You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by James G Smith <JG...@JameSmith.COM> on 2000/12/31 06:15:40 UTC
Re: cvs commit: httpd-2.0/build build.mk config-stubs
Greg Stein <gs...@lyra.org> wrote:
>On Sat, Dec 30, 2000 at 04:42:41PM -0800, rbb@covalent.net wrote:
>>...
>> That doesn't work. I have just done the following on my machine:
>>
>> find . -name "config*.m4" | \
>> sed 's#\(.*\)\/\(config.*\.m4\)#\2\1#' | \
>> sort
>>
>> Which finds all of the config*.m4 files, and changes the line to
>> config*.m4/path/to/file, and the sorts the files, and I got the following:
>>
>> config5.m4./modules/generators
>> config.m4./modules/aaa
hmm... If I create a file with the above two names (with no
leading whitespace), and sort them, I get them with config.m4
first:
# sort t
config.m4./modules/aaa
config5.m4./modules/generators
# uname -a
OpenBSD jamesmith.com 2.8 GENERIC#1 i386
------------------------------------+-----------------------------------------
James Smith - jgsmith@jamesmith.com | http://www.jamesmith.com/
jsmith@sourcegarden.org | http://sourcegarden.org/
jgsmith@tamu.edu | http://cis.tamu.edu/systems/opensystems/
------------------------------------+------------------------------------------
Re: cvs commit: httpd-2.0/build build.mk config-stubs
Posted by Greg Stein <gs...@lyra.org>.
On Sat, Dec 30, 2000 at 11:15:40PM -0600, James G Smith wrote:
> Greg Stein <gs...@lyra.org> wrote:
> >On Sat, Dec 30, 2000 at 04:42:41PM -0800, rbb@covalent.net wrote:
>...
> >> config5.m4./modules/generators
> >> config.m4./modules/aaa
>
> hmm... If I create a file with the above two names (with no
> leading whitespace), and sort them, I get them with config.m4
> first:
>
> # sort t
> config.m4./modules/aaa
> config5.m4./modules/generators
What happens when you use "sort -n" on the above two lines?
Cheers,
-g
--
Greg Stein, http://www.lyra.org/