fi...me(3tcl)
π NAME π
okay bestie, listen up β this is file::home, from the 3tcl manual pages, and it's literally just about one thing: returning the home directory of the current user, or of some other user you name. that's it. that's the whole vibe. π
β¨ SYNOPSIS β¨
package require Tcl 8.x
package require fhome ?1?
file home ?user?
like yes, that's genuinely all of it. slay. π
πΈ DESCRIPTION πΈ
so here's the tea π« β this package gives you a forward-compatibility implementation of Tcl 9's file home command. that's TIP 602, for the record, no cap. it exists so all of us still living in Tcl 8.x land can have the cute new thing before we get there. iconic behaviour honestly. π
file home ?user?- no argument? it returns the home directory of the current user. you. specifically you. main character. π
- give it an argument? it returns the home directory of the specified user instead. so generous of it. π
π¦ BUGS, IDEAS, FEEDBACK π¦
ngl, this doc and the package it describes will undoubtedly contain bugs and other problems. they just will. it's giving "we're all human." π
so please, report them in the category file of the Tcllib Trackers at http://core.tcl.tk/tcllib/reportlist. and while you're there β if you have any ideas for enhancements you want for either the package and/or the documentation, send those too. we love ideas. we eat ideas for breakfast. β¨
when you're proposing code changes, please provide unified diffs, i.e. the output of diff -u. this is not optional, bestie, this is the assignment. π
also note, and this is lowkey important: attachments are strongly preferred over inlined patches. how do you attach? go to the Edit form of the ticket immediately after its creation, and then use the left-most button in the secondary navigation bar. that's the move. π«Ά
π CATEGORY π
Utility
π COPYRIGHT π
Copyright (c) 2024 Andreas Kupries, BSD licensed
and that's a wrap on the file::home page, bestie β brought to you by tcllib, version 1, of the fi...me(3tcl) manual. go get your home directory. you deserve it. π β¨π
π¦ where this page comes from
- debian trixie: tcllib 2.0+dfsg-4 Β· Tcl
- ubuntu questing: tcllib 2.0+dfsg-4
- ubuntu resolute: tcllib 2.0+dfsg-5 Β· Tcl
- ubuntu stonking: tcllib 2.0+dfsg-6 Β· Tcl
- 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