Why, why should we suffer for trivial bugs like that? Life is hard enough.
I have the default sed from debian 12
slo@slolin:~/Sources/product-env/nuttx$ LANG=C sed --version
sed (GNU sed) 4.9
Packaged by Debian
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Jay Fenlason, Tom Lord, Ken Pizzini,
Paolo Bonzini, Jim Meyering, and Assaf Gordon.
This sed program was built with SELinux support.
SELinux is disabled on this system.
GNU sed home page: <https://www.gnu.org/software/sed/>.
General help using GNU software: <https://www.gnu.org/gethelp/>.
E-mail bug reports to: <bug-...@gnu.org>.
(I hope it's not a fix that was required by a microsoft version of sed
in a wsl so something cursed like that.)
Sebastien
On 31/01/2025 13:23, Tomek CEDRO wrote:
I have this problem on BSD too and need to replace with gsed (GNU Sed
variant). Would be nice to fix :-)
Tomek
On Fri, Jan 31, 2025 at 11:30 AM Sebastien Lorquet<sebast...@lorquet.fr> wrote:
After git bisect over more than 2000 revisions, I found that this commit
broke configure.sh for my board
slo@slolin:~/Sources/product-env/nuttx$ git bisect good
27685aa179ad7608394fb8a97e11ef532888a75d is the first bad commit
commit 27685aa179ad7608394fb8a97e11ef532888a75d
Author: yezhonghui<yezhong...@xiaomi.com>
Date: Tue Sep 24 20:05:27 2024 +0800
Fix config repeat define in include deconfig mode
Signed-off-by: yezhonghui<yezhong...@xiaomi.com>
tools/process_config.sh | 2 ++
1 file changed, 2 insertions(+)
Congratulations the-one-we-should-not-name
Now please fix it
../product/tools/configure-nuttx.sh
Copy files
sed: -e expression n°1, caractère 11: caractères inutiles après la commande
sed: -e expression n°1, caractère 16: commande inconnue: « O »
sed: -e expression n°1, caractère 17: caractères inutiles après la commande
sed: -e expression n°1, caractère 14: commande inconnue: « S »
sed: -e expression n°1, caractère 11: caractères inutiles après la commande
sed: -e expression n°1, caractère 13: commande inconnue: « O »
sed: -e expression n°1, caractère 17: commande inconnue: « O »
sed: -e expression n°1, caractère 11: commande inconnue: « m »
sed: -e expression n°1, caractère 14: commande inconnue: « Z »
sed: -e expression n°1, caractère 15: commande inconnue: « O »
Select CONFIG_HOST_LINUX=y
Sebastien