Lines Matching defs:suffix
94 " \b--suffix\b and \b--version-control\b for more information.]"
96 "[S:backup-suffix|suffix?A backup file is made by renaming the file to the"
97 " same name with the backup suffix appended. The backup suffix is"
99 " environment variable, or the default value \b~\b.]:[suffix]"
104 " suffix is \b.\aSNS\a, where \aS\a is the"
105 " \bbackup-suffix\b and \aN\a is the version number,"
140 #define BAK_number 2 /* append .suffix number suffix */
141 #define BAK_simple 3 /* append suffix */
161 int suflen; /* strlen(state.suffix) */
177 char* suffix; /* backup suffix */
494 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)
505 sfprintf(state->tmp, "%s.%s%d%s", state->path, state->suffix, v + 1, state->suffix);
510 sfprintf(state->tmp, "%s%s", state->path, state->suffix);
807 state->suffix = opt_info.arg;
883 if (!state->suffix && !(state->suffix = getenv("SIMPLE_BACKUP_SUFFIX")))
884 state->suffix = "~";
885 state->suflen = strlen(state->suffix);