[Bug 2165] Sort the BSP lists in acinclude.m4 files.

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Jan 8 21:04:00 UTC 2014


https://www.rtems.org/bugzilla/show_bug.cgi?id=2165

--- Comment #2 from Chris Johns <chrisj at rtems.org> 2014-01-08 15:04:00 CST ---
> So, which OS are you having problems with?

BSD based ones, ie MacOS and FreeBSD.

> How do the results of the examples above look like on this OS.

For FreeBSD the results are ...

$ export LANG=C
$ ls
1       A       a
$ ls | sort
1
A
a

$ export LANG=en_US.utf_8
$ ls
1       A       a
$ ls | sort
1
A
a

$ export LANG=en_US.utf_8
$ export LC_COLLATE=C
$ ls
1       A       a
$ export LC_COLLATE=C
$ ls
1       A       a
$ ls | sort
1
A
a

For MacOS the results are similar except 'a' was replaced by 'b' because the
default file system is not case sensitive.

Can we ..

  for i in `LANG=C LC_COLLATE=C ls */bsp_specs | sort`; do

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list