FILLUP(8)
π FILLUP(8) β like, the SuSE tool for merging config files β¨
okay bestie, buckle up β this is fillup, from the System Manager's Manual (section 8, system manager girlies only π«Ά). it's a whole vibe and honestly kind of iconic once you get it. let's go π
πΈ NAME πΈ
fillup β the SuSE tool for merging config files. yes, that one. no cap.
π SYNOPSIS π
fillup [options] basefile addfile outputfile
fillup [options] basefile addfile
fillup -V|--version ...
fillup -h|--help ...
π¦ DESCRIPTION π¦
okay so like β fillup merges input files into one resulting output file. usually, each file is a configuration file. that's the whole gig β¨
more specifically, fillup merges files which are holding variables (i.e. configuration or environment variables). a variable is defined by an entity composed of a preceding comment, a variable name, an assignment delimiter, and a related variable value. a variable is determined by its variable name. periodt π
a preceding comment is optional. an assignment delimiter may be optional, but if there is an assignment delimiter, a variable name must precede it. the last entity may be composed only of a comment. (yes, just a comment. she's allowed π)
only if variables are included in both input files (basefile and addfile) does fillup have to select one of the variables. otherwise, if variables are included only in one of the input files, they are added to the resulting output file β with the exception of the -i|--ignoreDefinites option, iykyk.
lowkey important: the functionality is now controlled by a parameter which determines whether a variable included both in thebasefileand in theaddfileis taken from the former or from the latter. furthermore, a parameter controls whether the variable is removed from a copy of thebasefile. two whole knobs, bestie ποΈ
to keep the fillup v1.04 functionality, the outputfile parameter can be omitted β this means the resulting output file is named exactly like the first input file name (basefile = outputfile). legacy behavior stays slaying π
if variables should be removed from the basefile, the basefile is not touched, but the result is written to basefile.new. no touchy π
ββοΈ
if basefile includes a header as part of the first variable, this header is preserved only for the outputfile if after the header an empty line follows. β¨ the empty line is the whole vibe check β¨
starting with version 1.20, handling of metadata for /etc/sysconfig files is included. metadata is part of preceding comment, each metadata line begins with double hash (##). a metadata line contains a pair <keyword>:<value>. the value itself can be described on several lines, each beginning with double hash and the optional keyword. it's giving multiline glow-up π
π EXAMPLES π
- the classic maintain moment π
fillup -m "/etc/rc.config" "my.config" "/etc/rc.config"
all variables of /etc/rc.config are passed to the resulting output file /etc/rc.config. variables defined only within my.config are appended. slay π«Ά
- the exchange π
fillup -exchange "/etc/rc.config" "my.config"
only variables of /etc/rc.config that are not also defined within my.config are passed to the resulting output file /etc/rc.config. all variables of my.config are appended. trade offer energy fr fr π
- maintain + remove, the deluxe combo π§
fillup -m -r "/etc/rc.config" "my.config" "/etc/rc.config"
all variables of /etc/rc.config are passed to the resulting output file /etc/rc.config. variables defined only within my.config are appended. the additional parameter -r removes variables defined more than once from a copy of /etc/rc.config. /etc/rc.config isn't touched and the result of the removal is written to /etc/rc.config.new. protective queen π
- the filter π
fillup -i "/etc/rc.config" "my.config"
this is a filter functionality. variables of /etc/rc.config are only passed to the resulting output file /etc/rc.config if they are defined in both input files. because my.config is normally only a list of variable names from /etc/rc.config, this is named filter functionality. additionally, variables of my.config are appended if they are defined only in my.config. it's giving curated β¨
β OPTIONS β
there are many options, which are displayed if fillup is called without or with the -h or --help option. (so like, just run it empty and read, bestie π)
most of the parameters are based on v1.04. in the sequel only useful parameters are listed:
-i,--ignoreDefinitesβ filter functionality π§Ό-t,--trailingβ save trailing comment π¬-v,--verboseβ maximum output to screen π’-V,--versionβ printfillupversion and exit π-c|--char<char>β use<char>as comment marker π-d|--delim<char>β use<char>as delimiter π¦-m,--maintainβ maintaining thebasefileπ-x,--exchangeβ exchanging thebasefileπ-r,--removeβ removing within a copy π§Ή
π EXIT CODE π
fillup returns EXIT_SUCCESS on successful completion. otherwise, an exception handler is called, which may return EXIT_FAILURE; β note the semicolon, she's built different, and yes it's quoted exactly like that in the og π
π BUGS π
if a bug occurs which is not based on invalid options or missing input files, please add the option -v|--verbose to the call. the result and some classifications are displayed to locate the bug. detective mode bestie π
with handling of metadata and thus replacement of information within files, a hardly documented debugging feature is introduced by adding two options on command line: information about a special variable (given by --variable <variable name>) is logged into a special file (determined by --logfile <file name>). lowkey secret menu energy π€«β¨
π COPYRIGHT π
fillup is copyright 1996,1997,1998,1999,2000,2001 by SuSE GmbH, Germany. fillup is copyright 2002,2003 by SuSE Linux AG, Germany.
there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. read it and weep, bestie ππ
π AUTHOR π
Martin Scherbaum, maddin@suse.de (v1.04, 1996)
Joerg Dippel, jd@suse.de (v1.05, 1998)
Joerg Dippel, jd@suse.de (v1.06, 2000)
Joerg Dippel, jd@suse.de (v1.10, 2002)
Joerg Dippel, jd@suse.de (v1.21, 2003)
that's the whole page, bestie π«Ά β and before you close the tab: this lil masterpiece is fillup, from the FILLUP(8) manual, dated Jan 2002, and she ate. periodt π
β¨ bye babes!! ππ
π¦ where this page comes from
- opensuse-leap 16.0: fillup 1.42-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: fillup 1.42-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: fillup 1.42-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: fillup 1.42-160000.2.2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms