Lines Matching defs:separator

461   char separator[20];    /* Separator character for MODE_List */
462 char newline[20]; /* Record separator in MODE_Csv */
486 #define MODE_List 2 /* One record per line with a separator */
662 ** Output a single term of CSV. Actually, p->separator is used for
663 ** the separator, which may or may not be a comma. p->nullvalue is
664 ** the null value. Strings are quoted if necessary. The separator
673 int nSep = strlen30(p->separator);
676 || (z[i]==p->separator[0] &&
677 (nSep==1 || memcmp(z, p->separator, nSep)==0)) ){
694 fprintf(p->out, "%s", p->separator);
806 fprintf(p->out,"%s%s",azCol[i], i==nArg-1 ? "\n" : p->separator);
815 fprintf(p->out, "%s", p->separator);
848 if(i<nArg-1) fprintf(p->out, "%s", p->separator);
855 if(i<nArg-1) fprintf(p->out, "%s", p->separator);
1618 " list Values delimited by .separator string\n"
1634 ".separator STRING ?NL? Change separator used by output mode and .import\n"
1923 int cSeparator; /* The separator character. (Usually ",") */
1940 ** with the option of having a separator other than ",".
1945 ** + Use p->cSep as the separator. The default is ",".
2565 int nSep; /* Number of bytes in p->separator[] */
2579 nSep = strlen30(p->separator);
2581 fprintf(stderr, "Error: non-null separator required for import\n");
2603 sCsv.cSeparator = p->separator[0];
2827 sqlite3_snprintf(sizeof(p->separator), p->separator, " ");
2830 sqlite3_snprintf(sizeof(p->separator), p->separator, ",");
2834 sqlite3_snprintf(sizeof(p->separator), p->separator, "\t");
3109 if( c=='s' && strncmp(azArg[0], "separator", n)==0 ){
3111 fprintf(stderr, "Usage: .separator SEPARATOR ?NEWLINE?\n");
3115 sqlite3_snprintf(sizeof(p->separator), p->separator, azArg[1]);
3159 fprintf(p->out,"%9.9s: ", "separator");
3160 output_c_string(p->out, p->separator);
3781 " -separator SEP set output field separator. Default: '|'\n"
3808 memcpy(data->separator,"|", 2);
3900 if( strcmp(z,"-separator")==0
4008 memcpy(data.separator,",",2);
4009 }else if( strcmp(z,"-separator")==0 ){
4010 sqlite3_snprintf(sizeof(data.separator), data.separator,