pacmatic
pacmatic copied to clipboard
Arch news not fetched after bash update
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.
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.
Still throwing the error but seems to have fetched the last news update. On first glance looks like it's missing the html2text prettiness.
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.