I have just upgraded to Leap 16 and have run into a number of issues with some of my scripts. In particular it seems as though grep dislikes things and reports stray \ before r but it is very difficult to find the source of the error. Then I was getting a broken pipe error with ifstatus but the line number kept changing. I think there are still some issues I have yet to find and they seem to be very difficult to nail down. I wasn’t expecting this level of problem as I’ve never had issues of this magnitude before. Makes me wonder if I should revert to Leap 15.6
@davidlwilcox and your using wicked?
A bit difficult to understand this.
To begin with, waht sort of script are you talking about. There are many scripting language available. And then some real information like (part of) the script and showing the strange output of grep, and maybe more, might help people enormous to understand your stories.
Sorry, I should have been clearer, these are bash scripts.
Also, I did try to get some diagnostics, such bash -x to a file, but it didn’t show me where the stray \ message was coming from.
It would probably be useful for you to share the script and some specific error messages from actual runs of the script.
“I have some problems” is pretty difficult to provide specific advice for.
The main script is very large and quite complex, having been developed over a long period. I posted this message to see if anyone had experienced similar problems and so far it seems I must be the only one who has. The script has worked through multiple versions of OpenSuse and I’ve never seen these problems before. I seem to have eliminated the issues, mainly by changing some of the grep statements. I did find the stray \ error mentioned in SUSE Customer Portal
Some code snippets or reduced sections that can be run would still be helpful compared to “I have some things that aren’t working”.
We can’t help fix specific issues without specific information. Showing what issues you’re running into is definitely going to be helpful to figuring out what’s changed.
Usually when a larger script has an issue, it’s possible to extract parts of it and build a shorter script that demonstrates the issue. That would be very helpful.
Thanks for looking. At this moment I don’t have enough time to go back to the original problem as I have the scripr working. If I do get time I will try to get some specifics.
I have reverted to Leap 15.6 as there were a number of other problems I ran into with Leap 16 and I don’t have enough time to chase them down.