Differences
This shows you the differences between the selected revisions of the page.
2016-11-30 | 2017-05-02 | ||
5.9 is out for a while (martin) | little about pattern that can be used in command pattern (martin) | ||
Line 28: | Line 28: | ||
| ''!N'' | Any | Current session name. | | | ''!N'' | Any | Current session name. | | ||
| ''!?prompt[\]?default!'' | Any | When used, user is prompted to enter value that replaces the pattern. ''prompt'' can define a message of the prompt and ''default'' a default value, both can be empty. Special characters entered by user are automatically delimited. You can prohibit this using optional backslash (''\'') before second question mark (''?''). \\ When implementing an [[extension]], use a runtime [[extension#options|option]] instead, as a more flexible alternative. | | | ''!?prompt[\]?default!'' | Any | When used, user is prompted to enter value that replaces the pattern. ''prompt'' can define a message of the prompt and ''default'' a default value, both can be empty. Special characters entered by user are automatically delimited. You can prohibit this using optional backslash (''\'') before second question mark (''?''). \\ When implementing an [[extension]], use a runtime [[extension#options|option]] instead, as a more flexible alternative. | | ||
- | | ''!`command`'' | Any | Replaced with output of a given local console command. \\ The command can also be used solely for its side effect, without actually outputting anything. | | + | | ''!`command`'' | Any | Replaced with output of a given local console command. \\ The command can also be used solely for its side effect, without actually outputting anything. \\ Limited set of static patterns can be used in ''command''. Particularly file patterns, like ''!'' and ''!&'', cannot be used. | |
| ''%%!^!%%'' | Local | Full path to a local file. In general it should be used in a combination with ''!'' or ''!&''. Command with the pattern will be executed once for every selected local file, unless only one local file and several remote files are selected and pattern ''!'' is used. Cannot be executed recursively. | | | ''%%!^!%%'' | Local | Full path to a local file. In general it should be used in a combination with ''!'' or ''!&''. Command with the pattern will be executed once for every selected local file, unless only one local file and several remote files are selected and pattern ''!'' is used. Cannot be executed recursively. | | ||
| ''!\'' | Local | Current local path. The path never ends with backslash. | | | ''!\'' | Local | Current local path. The path never ends with backslash. | |