Dear Fam,
Fam Zheng <[email protected]> writes:
[...]
>> + NEED_DEBOOTSTRAP=true
>> + elif ! (echo "${MIN_DEBOOTSTRAP_VERSION}" ; "${DEBOOTSTRAP}" --version \
>> + | cut -d ' ' -f 2) | sort -t . -n -k 1,1 -k 2,2 -k 3,3 -C; then
>
> Like -V, -C is not available on OSX either. Maybe use "-c"? If so, I can fix
> it
> when applying.
>
> https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/sort.1.html
Thanks for the pointer. So Apple took a 2005 version of GNU sort,
removed version sort support (introduced in 1997) and neglected to
update it for POSIX.1-2008 compliance [1]?
Guess using "-c" and redirecting stderr to /dev/null is our only option
then. Feel free to fix that up when applying.
Thanks for pointing out these portability issues!
Sascha
[1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sort.html
--
Softwareentwicklung Sascha Silbe, Niederhofenstraße 5/1, 71229 Leonberg
https://se-silbe.de/
USt-IdNr. DE281696641