[Bug 226381] Merge Review: ruby
bugzilla at redhat.com
bugzilla at redhat.com
Sun Apr 5 22:40:28 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=226381
--- Comment #27 from Jeroen van Meeuwen <kanarip at kanarip.com> 2009-04-05 18:40:27 EDT ---
How does such a snippet look to you?
==
for i in `find -type f ! -name "*.gif"`; do
sh -c "
iconv -f utf-8 -t utf-8 $i > /dev/null 2>&1 || \
(
iconv -f euc-jp -t utf-8 $i > $i.new \
&& mv $i.new $i \
|| rm -f $i.new
)
if [ $? != 0 ]; then
iconv -f iso8859-1 -t utf-8 $i > $.new \
&& mv $i.new $i \
|| rm -f $i.new
fi
"
done
==
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Fedora-package-review
mailing list