File: tcllib_fhome.man

package info (click to toggle)
tcllib 2.0%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 83,560 kB
  • sloc: tcl: 306,798; ansic: 14,272; sh: 3,035; xml: 1,766; yacc: 1,157; pascal: 881; makefile: 124; perl: 84; f90: 84; python: 33; ruby: 13; php: 11
file content (29 lines) | stat: -rw-r--r-- 889 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[comment {-*- tcl -*- doctools manpage}]
[vset VERSION 1]
[manpage_begin file::home n [vset VERSION]]

[copyright {2024 Andreas Kupries, BSD licensed}]
[moddesc {Forward compatibility implementation of [file home]}]
[titledesc {file home - Return home directory of current or other user}]
[category  Utility]
[require Tcl "8.x"]
[require fhome [opt [vset VERSION]]]
[description]
[para]

This package provides a forward-compatibility implementation of Tcl
9's [cmd {file home}] command (TIP 602), for Tcl 8.x.

[list_begin definitions]
[comment {- - -- --- ----- -------- ------------- ---------------------}]
[call [cmd file] [method home] [opt [arg user]]]

Without argument, return the home directory of the current user.

[para] With argument, return the home directory of the specified [arg user].

[list_end]

[vset CATEGORY file]
[include ../common-text/feedback.inc]
[manpage_end]