pacmatic icon indicating copy to clipboard operation
pacmatic copied to clipboard

Arch news not fetched after bash update

Open gnubeest opened this issue 9 years ago • 3 comments

pacmatic 20121112-3, current Arch binary in community

Running pacmatic -Syu under bash 4.3.026 returns: sed: -e expression #1, char 0: no previous regular expression

Pacman wrapping, ML checking, and pacnew management all appear to function as expected. Tested on another Arch box both before and after bash upgrade from 4.3.024 with the same result.

gnubeest avatar Sep 29 '14 05:09 gnubeest

I get the same error message occationally from cron-pacmatic. I guess it's due to the NULL stamp variable In pacmatic::mail_summary(), maybe because it failed to read $config file or $config file is empty.

opippi avatar Oct 02 '14 18:10 opippi

Still throwing the error but seems to have fetched the last news update. On first glance looks like it's missing the html2text prettiness.

gnubeest avatar Oct 02 '14 22:10 gnubeest

I have html2text installed, but I get the error. I suspect that it's due to the line 36. raw=$(curl -s "$mail_list" | sed -n "/$stamp/,$p")

stamp=;echo "test" | sed -n "/$stamp/,$p" returns the same error, even though it does not include -e option.

opippi avatar Oct 04 '14 05:10 opippi