This is a workaround for an old bug in the OptionParser library that ships with Ruby 1.8.2. The library can't seem to cope with newlines in parameters, causing this command to misread multiline SQL statements. Changed: U trunk/Bundles/SQL.tmbundle/Commands/Execute Line : Selection as Query.tmCommand