$mkfn » History » Version 2
Per Amundsen, 02/23/2023 05:12 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$mkfn(filename)* |
||
| 4 | |||
| 5 | Replaces invalid filename characters with underscore. |
||
| 6 | |||
| 7 | *Parameters* |
||
| 8 | |||
| 9 | 2 | Per Amundsen | table(ktable). |
| 10 | |*Parameter*|*Description*| |
||
| 11 | | filename | The filename to format. | |
||
| 12 | 1 | Per Amundsen | |
| 13 | *Example* |
||
| 14 | |||
| 15 | <pre> |
||
| 16 | ; Format the filename 'tes\t.txt' to 'tes_t.txt' |
||
| 17 | //echo -ag $mkfn(tes\t.txt) |
||
| 18 | </pre> |