grep warning 07 December 2022, 02:45:37 When i boot artix openrc. I have a warning:grep: warning: stray \ before -grep: warning: stray \ before -
Re: grep warning Reply #1 – 07 December 2022, 07:07:33 Quote from: robto – on 07 December 2022, 02:45:37When i boot artix openrc. I have a warning:grep: warning: stray \ before -grep: warning: stray \ before -The solution is quite simple:Code: [Select]sudo -ised -i 's/\\-\\-noadjfile/\\--noadjfile/g' /etc/init.d/hwclockexitAfter reboot, the inconvenience is gone. 1 Likes
Re: grep warning Reply #2 – 11 December 2022, 04:29:39 Quote from: lq – on 07 December 2022, 07:07:33The solution is quite simple:Code: [Select]sudo -ised -i 's/\\-\\-noadjfile/\\--noadjfile/g' /etc/init.d/hwclockexitAfter reboot, the inconvenience is gone.there is a scripting error in the hwclock init file?
Re: grep warning Reply #3 – 11 December 2022, 10:37:03 Quote from: mrbrklyn – on 11 December 2022, 04:29:39there is a scripting error in the hwclock init file?Yes. It is located in the openrc source code.
Re: grep warning Reply #4 – 13 December 2022, 01:36:14 Quote from: lq – on 11 December 2022, 10:37:03Yes. It is located in the openrc source code.Shouldn't the package be fixed then? Is it our package?
Re: grep warning Reply #5 – 23 December 2022, 09:47:10 It Quote from: mrbrklyn – on 13 December 2022, 01:36:14Shouldn't the package be fixed then? Is it our package?It will be a good thing, as it is annoying having it.FYI there are some solutions, in another forum I've found an alternative writing, that is told to be more compatible:Code: [Select]grep -q -e "--noadjfile";I've implemented it and now Artix boot without complain.RegardsCarlo D.