Re: jhalfs can't work with sed-4.9
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <CAHQM780EAffyicH3BdhUJgrFRbtS4MkLDnac=m2GvQjkLPcYxg@mail.gmail.com> |
On Sun, Dec 18, 2022 at 12:31 AM Pierre Labastie < [email protected]> wrote: > On Sat, 2022-12-17 at 14:50 +0800, Patrick Star wrote: > > Error log as below: > > Creating Makefile... START > > Processing... <Chapter 4> > > sed: -e expression #1, char 17: Invalid range end > > > > <jhalfs> exit > > > > I have located it happend at jhalfs/LFS/master.sh line 69. > > > > 67 # Grab the name of the target > > 68 # This is only used to check the name in "opt_override" or > "BLACKLIST" > > 69 name=`echo ${this_script} | sed -e 's@[0-9]\{3,4\}-@@' \ > > 70 -e 's@-pass[0-9]\{1\}@@' \ > > 71 -e 's@-libstdc++@@' \ > > 72 -e 's,'$N',,' \ > > 73 -e 's@-32@@'` > > 74 > > > > But I know nothing about sed :-) > > This seems weird: This sed is ok for me with sed-4.9... What are your > settings? > Specially that of LANG (in configuration)? > LANG <en_US.UTF-8> Probably my sed-4.9 is broken: sed-4.8 is ok. $ echo 401-creatingminlayout | sed-4.8 -e 's@[0-9]\{3,4\}-@@' -e 's@-pass[0-9]\{1\}@@' -e s@-libstdc++@@ -e s,,, -e s@-32@@ creatingminlayout but not sed-4.9. $ echo 401-creatingminlayout | sed-4.9 -e 's@[0-9]\{3,4\}-@@' -e 's@-pass[0-9]\{1\}@@' -e s@-libstdc++@@ -e s,,, -e s@-32@@ sed-4.9: -e expression #1, char 17: Invalid range end Also my sed-4.9 is much smaller than sed-4.8 (both stripped). 172K /usr/bin/sed-4.8 108K /usr/bin/sed-4.9 > Pierre > -- > http://lists.linuxfromscratch.org/sympa/info/alfs-discuss > Unsubscribe: See the above information page -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page