Lines Matching defs:suffix
102 "\b--suffix\b sets the backup suffix. The backup type is determined in "
107 "suffix is \b.\aSNS\a, where \aS\a is the \bbackup-suffix\b and "
115 "[S:suffix?A backup file is made by renaming the file to the same name "
116 "with the backup suffix appended. The backup suffix is determined in "
118 "variable, or the default value \b~\b.]:[suffix]"
154 #define BAK_number 2 /* append .suffix number suffix */
155 #define BAK_simple 3 /* append suffix */
176 int suflen; /* strlen(state.suffix) */
192 char* suffix; /* backup suffix */
517 if (strneq(s, sub->fts_name, n) && sub->fts_name[n] == '.' && strneq(sub->fts_name + n + 1, state->suffix, state->suflen) && (m = strtol(sub->fts_name + n + state->suflen + 1, &e, 10)) && streq(e, state->suffix) && m > v)
528 sfprintf(state->tmp, "%s.%s%d%s", state->path, state->suffix, v + 1, state->suffix);
533 sfprintf(state->tmp, "%s%s", state->path, state->suffix);
862 state->suffix = opt_info.arg;
946 if (!state->suffix && !(state->suffix = getenv("SIMPLE_BACKUP_SUFFIX")))
947 state->suffix = "~";
948 state->suflen = strlen(state->suffix);