file::home(n)
โจ file::home โ the manual page bestie ๐
ok so you found file::home(n) and honestly? it's giving main character energy for the tiniest little command ever. it's a manual page from tcllib, and it does exactly one thing, but it does it flawlessly. periodt. ๐
๐ NAME ๐
file::home โ file home โ returns the home directory of the current user or of some other user. that's it. that's the whole vibe. ๐ โจ
๐ธ SYNOPSIS ๐ธ
package require Tcl 8.x
package require fhome ?1?
file home ?user?
๐ฆ DESCRIPTION ๐ฆ
ok bestie listen. Tcl 9 has a built-in file home command (it came from TIP 602), and if you're still living your life on Tcl 8.x, you were lowkey missing out. so this package is a forward-compatibility implementation of that command. no cap. it backports the whole thing so your 8.x code can pretend it's living in the future. ๐ฐ๏ธโก๏ธ๐ฎ
file home ?user?โ the one and only star of the show ๐- with no argument, it returns the home directory of the current user. just you. your little corner of the filesystem. ๐ก
- with an argument, it returns the home directory of the specified user. yes, you can be nosy (respectfully). ๐
๐ BUGS, IDEAS, FEEDBACK ๐
ngl, this document and the package it describes will undoubtedly contain bugs and other problems. every manpage says this and every manpage is right. ๐ญ so please report them in the category file of the Tcllib Trackers:
http://core.tcl.tk/tcllib/reportlist
also please report any ideas for enhancements you may have for either the package and/or the documentation. we love ideas. ideas are iconic. ๐ก๐ซถ
when proposing code changes, please provide unified diffs, i.e. the output of diff -u. fr fr, that's the format.
โ ๏ธ note further that attachments are strongly preferred over inlined patches. you can attach stuff 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. yes, that specific button. the left-most one. it's the main character of the navigation bar. ๐
๐ CATEGORY ๐
Utility
๐ COPYRIGHT ๐
Copyright (c) 2024 Andreas Kupries, BSD licensed
and that's the whole page bestie!! ๐ this was tcllib, version 1, file::home(n), and it ate. slay. bye!! ๐ฆ๐โจ
๐ฆ where this page comes from
- fedora 43: tcllib 2.0-3.fc43 ยท TCL
- fedora 44: tcllib 2.0-4.fc44 ยท TCL
- nixos 26.05: tcllib 2.0
- nixpkgs unstable: tcllib 2.0
- Copyright (c) 2024 Andreas Kupries, BSD licensed
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms