[ Tcllib Home | Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]

# file::home(n) 1 tcllib "Forward compatibility implementation of [file home]"

## Name

file::home - file home - Return home directory of current or other user

## Synopsis

- package require Tcl 8.x
- package require fhome ?1?

- file home ?user?

## Description

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

file home ?user?

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

  With argument, return the home directory of the specified user.

## Bugs, Ideas, Feedback

This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category file of the Tcllib Trackers. Please also report any ideas for enhancements you may have for either package and/or documentation.

When proposing code changes, please provide unified diffs, i.e the output of diff -u.

Note further that attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar.

## Category

Utility

## Copyright

Copyright © 2024 Andreas Kupries, BSD licensed