atfsit(1)
β¨ atfsit β A program to prepare files for version control β¨
okay bestie, gather round, because atfsit is one of those ShapeTools girlies that quietly does SO much and nobody ever talks about her?? we're fixing that today π
π SYNOPSIS π
atfsit [ -cFhfsmM ] [ -qad ] [ -Iflags ] [ -Rflags ] [ -tdirectory ]
file1 ...
like, yes, that's a lot of flags. no, you don't have to use all of them. breathe π«Ά
π¦ DESCRIPTION π¦
Atfsit is a semi-intelligent program that gets your files ready for ShapeTools version control. the whole vibe is: she puts the correct type of headings at the top of your file so that retrv can update a header and log changes in the file. iconic behaviour, honestly.
by default, atfsit uses default headers that are hard-wired'' into herself for each different file type she knows'' about. (the list of known file types is right down below, don't worry π)
if you specify the -tdirectory option, then atfsit will use .template.suffix'' files (where suffix'' is a suffix that atfsit ``knows'' about) found in directory. if you don't give a directory name on the command line, then the environment variable TEMPLATES gets used instead. and if $TEMPLATES isn't set, then she tries the environment variable HOME. she's resourceful like that πΈ
here are the template files she recognizes:
.template.cβ Standard C.template.hβ C Include.template.fβ Fortran.template.shβ Shell Script.template.makeβ Makefile.template.manβ Manual
atfsit is semi-intelligent'' in that she can *guess* the type of headers to put in the file based on the type of file (C program, C include, makefile, shell script, or manual). she figures out the file type by looking at the **name of the file**. if the name of the file is Makefile'' or makefile'', then the file type is taken to be for `make(1)`. after that, the suffix after the last .'' in the file name gets used. here's the tea on the suffixes she knows about:
cβ C ProgramFβ C Program (with compile flags)hβ C Includefβ Fortranmkβ Make(1) fileshβ Shell Scriptcshβ Shell Script[1-9]β Manual (digits 1 - 9)
now, if the environment variable ATFSDIR'' is present, then atfsit will attempt to make a link from it to AtFS'' in the current directory if the -I option is used and there's no directory called AtFS'' already sitting in the current directory. and if the `-I` option is used but ATFSDIR'' is not specified in the environment? then a normal directory called ``AtFS'' will just be created. cute, right? you can override this whole feature with the -d option π
π OPTIONS π
-cβ Force file type to be ``Standard C''.-Fβ Force file type to be ``Standard C''. also adds a special header-line for recording compile-time options on top of the default header. the inserted line has the formstatic char *ConfFlg = CFFLGS.CFFLGSmust be a string value. and because it's very inconvenient to define the proper value ofCFFLGSfrom the command-line, this feature is more intended to be used from within Makefiles. iykyk π₯-hβ Force file type to be ``C Include''.-fβ Force file type to be ``Fortran''.-Mβ Force file type to beManual''. > heads up bestie: if you *also* specify theIflags'' option, atfsit will runvadm(1)to tell ShapeTools what kind of comment string to use for the manual file. π-sβ Force file type to be ``Shell Script''.-mβ Force file type to be ``Makefile''. note that this does the same thing as the-soption does β it just prints a different message. same energy, different font π-tβ Do not use any Template files for the headers.-qβ Be quiet. don't print out what's going on. only error messages get printed. the strong silent type π-dβ Do not attempt to make the directory ``AtFS''. see above for more info.-aβ Turn off auto guessing of file type.-Iflagsβ Check In file. runsave(1)on the file with ``flags'' being passed ontosave(1)as the command line arguments.-Rflagsβ Runvadm(1)with ``flags'' as the command line arguments.
π FILES π
/tmp/atfsit*β temporary buffer~/.template.*β template files to use as the header.
π AUTHOR π
Michael Cooper (mcooper@usc-oberon.ARPA)
Modified for use with ShapeTools by Axel.Mahler@cs.tu-berlin.de
π SEE ALSO π
π DIAGNOSTICS π
Complains about the usual stuff. (i.e. β the specified file doesn't exist, or it can't read it... just things like that.) she's not dramatic, she's just honest π
and that's the whole page, bestie!! this one is atfsit-1.15, dated Tue Jun 29 16:29:16 1993, and it came to you straight from ShapeTools. go forth and prepare those files for version control, you absolute main character π¦β¨
π¦ where this page comes from
- debian bookworm: atfs 1.4pl6-15+b1
- ubuntu jammy: atfs 1.4pl6-15
- ubuntu noble: atfs 1.4pl6-16.1build1
- ubuntu resolute: atfs 1.4pl6-17
- ubuntu stonking: atfs 1.4pl6-17
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms