Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Wow. I just squashed a DEVILISH bug in a program I'm developing.

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » The DU Lounge Donate to DU
 
Commie Pinko Dirtbag Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Feb-03-05 07:48 PM
Original message
Wow. I just squashed a DEVILISH bug in a program I'm developing.
Fell free to ignore my über nerdiness if it offends you...

Was using awk, on data fed from a web form. I was mistakenly using printf instead of print on a string, and since sometimes special characters are turned into something resembling printf format strings, sometimes the script borked because it expected nonexistent "arguments" to such format strings. Data was getting lost. There was much wailing and gnashing of teeth.

End of nerd post.
Printer Friendly | Permalink |  | Top

Home » Discuss » The DU Lounge Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC