file::home(n)

๐Ÿ“ฆ version 2.0, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

โœจ 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 (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