to all the curl/fedora guys...
the solution
The expansion isn't done by curl, but by the server based on the request headers.
If I add: -H "Accept-Language: en-EN" to the command line I get the expected "51%".
Fabian
On Wed, Apr 3, 2013 at 6:02 AM, Thomas Waldecker <thomas.waldecker@gmail.com
wrote:
Hi Bruce,
Trying to do a simple curl fetch of a page. I get the data, but when I
compare the page to what I see in the FF/Opera browser, I get a difference.
The key section on the browser is:
51% Men, 49% Women
The same section from the curl is: 51.02081505702209% Men, 48.97918494297791% Women
The actual test curl cmd I use is:
curl -o "dee.txt" http://www.collegeview.com/schoolfacts/auburn-university-main-campus/figures
It appears that the "%" causes some sort of expansion/rounding to occur in the data...
I have never seen something like this. I just tried it myself. Even changed the user-agent but got the same result.
Thomas
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org