Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch news not fetched after bash update #16

Open
gnubeest opened this issue Sep 29, 2014 · 3 comments
Open

Arch news not fetched after bash update #16

gnubeest opened this issue Sep 29, 2014 · 3 comments

Comments

@gnubeest
Copy link

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.

@opippi
Copy link

opippi commented Oct 2, 2014

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.

@gnubeest
Copy link
Author

gnubeest commented Oct 2, 2014

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

@opippi
Copy link

opippi commented Oct 4, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants