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 (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