- Timestamp:
- Dec 25, 2007, 4:06:14 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/readme.txt
r524 r525 39 39 ''other''. 40 40 41 From svndigest 0.7 which rules to be used for different files can be42 set in the configuration file. For more on configuration file see43 below. If no configuration file is given or no rules are given, a set 44 of default rules are used. For files named `*.h`, for example, use 45 rules allowing to detect comments as either `// ... \n` or `/* 46 ... */`. This rulecan be set in the configuration file using a47 one-liner like: 41 From svndigest 0.7, it is possible to set the configuration file which 42 rules are used for different files. For more on how to configure 43 svndigest see below. If no configuration file is given or no rules are 44 given, a set of default rules are used. For files named `*.h`, for 45 example, rules allowing to detect comments as either `// ... \n` or 46 `/* ... */`. These rules can be set in the configuration file using a 47 one-liner like: 48 48 49 49 `*.h = "//":"\n" ; "/*":"*/"` 50 50 51 The first string (`* h`) is a file-name-pattern describing which files51 The first string (`*.h`) is a file-name-pattern describing which files 52 52 this rule will be used on. The second block, `"//":"\n"`, is the first 53 53 rule saying one way to mark comments is to start with a ''start 54 54 code'', `//`, and end with an ''end code'', `\n`. The start and end 55 55 codes are surrounded by `""` and separated by `:`. Similarily, the 56 second block describes comments also could come as `/* ... */`. 56 second block describes that comments also could come as `/* ... */`. 57 58 For a more detailed illustration, please have a look at `config` that 59 can be found in directory `.svndigest`, and the svndigest screenshots 60 that can be reached through http://trac.thep.lu.se/svndigest/. 57 61 58 62 == Different file types ==
Note: See TracChangeset
for help on using the changeset viewer.