-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Description
When using scrape_yahoo on debian with sh linked to dash 0.5.7, the output file is empty most of the time.
Testing
sh -c 'echo "$(wget https://help.yahoo.com/kb/SLN23997.html -q -O -)"'
mostly gives an incomplete page (output stops somewhere in the css styles). Without the echo
and $()
there is nothing missing.
I assume this is due to some Unicode characters or null bytes that dash doesn't like, changing shebang to bash solves the problem for me. Using a pipe directly between wget to grep seems to work too, but maybe there is a cleaner solution.
drybjed