Rev 5921 | Rev 11212 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5921 | Rev 11210 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !! +exec+ +file+ |
1 | !! +exec+ +file+ |
- | 2 | tit:fileappend |
|
2 |
|
3 | type:$type_exec |
3 |
|
4 | alias:!appendfile |
4 |
|
5 | syntax:!fileappend `fname content' |
5 | $lst_mean Append $emph content$emphend to file $emph fname$emphend. |
- | |
6 |
|
6 | mean:Append `content' to file `fname'. `fname' is a file residing in the module's directory, \ |
7 | subdirectory $emph writable$emphend. <br/> |
- | |
8 | A new line |
7 | under the subdirectory `writable'. <br/> A new line will be added at the end of the `content'.\ |
9 | <p> |
8 | <p>\ |
10 | Special case: if the file name starts with |
9 | Special case: if the file name starts with `getfile/', the file is written to the getfile \ |
11 |
|
10 | subdirectory of the session. This file is then accessible via the command\ |
12 | accessible via the command |
- | |
13 |
|
11 | </p>\ |
14 |
|
12 | <pre>!href cmd=getfile&special_parm=fname_without_getfile_prefix</pre>\ |
15 |
|
13 | or a complete url\ |
16 | <pre>$$wims_ref_name?session=$$session&+cmd=getfile&+special_parm=fname_without_getfile_prefix</pre> |
14 | <pre>$$wims_ref_name?session=$$session&+cmd=getfile&+special_parm=fname_without_getfile_prefix</pre> |
17 | - |