Hello,

we got a bug report to replace URL's in the code by https:

<quote>
For security, www.gnu.org and gnu.org URLs should be in https.
At least the info manual and the man pages are concerned.
</quote>

My first attempt was:

for i in '' www. mail. savannah. lists.; do fgrep -r gnu.org |grep http|grep -v https|awk -F: '{print $1}'|xargs sed -i "s@http://${i}gnu.org@https://${i}gnu.org@g";; done

IMHO the results looked good at the first glance.

1. the po files also get changed, not sure if this is correct.
2. some perl scripts are considered to be binary and are not changed.
3. I'm unsure if files with DOS end end line chars (util/texindex.bat)
   are handled correctly.

Thanks for considering,
  Hilmar
--
sigfault

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to