On Fri, Oct 21, 2011 at 10:38 AM, Olaf van der Spek <olafvds...@gmail.com> wrote: > On Fri, Oct 21, 2011 at 7:21 AM, Henrik Ingo <henrik.i...@avoinelama.fi> > wrote: >> So we established that the drizzle client is a suitable replacement >> for this. If you pipe output from > > I think we agree that client-side is the right place for this kind of > functionality. > Not all desired functionality might be available yet though.
My point is that what exists is good enough, so I support that you can proceed to remove the server side code. >> drizzle --silent >> drizzle --tab >> drizzle --csv >> >> The first one exists already. > > Synonyms? Shouldn't csv and tab be different? The name "Comma Separated Values" suggests the delimiter should be a comma, but in practice CSV files are also delimited by tabs, semicolons and others. See e.g. the CSV import window in LibreOffice or Excel. So we can say that our default is to output tabs. Really I just want "CSV" to be there because that's what you'll be looking for first. A natural follow up task is to implement something like --csv-delimiter and --csv-quotes so user can define arbitrary delimiter and also quote all strings. But I'm ok with pushing this problem to sed and other unix tools for now. (The quotation can sometimes be necessary though, if you have tabs in your data.) henrik -- henrik.i...@avoinelama.fi +358-40-8211286 skype: henrik.ingo irc: hingo www.openlife.cc My LinkedIn profile: http://www.linkedin.com/profile/view?id=9522559 _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : drizzle-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp