MERGE-INFO(1)
πΈ NAME πΈ
okay bestie, meet merge-info β she merges and unmerges GNU Info index files π
(this is the merge-info(1) page from the XStow Reference Guide, and yes she's iconic)
β¨ SYNOPSIS β¨
merge-info [OPTION ...] FILE FILE
π¦ DESCRIPTION π¦
so merge-info can merge and unmerge the GNU Info index files named dir. Those files are usually made by install-info when you install an application, or they just get auto-generated by a mkinfodir script. no cap π«Ά
now here's the situation: if you're installing 2 packages at two different locations, you end up with two different dir files. eg. one in
/stow/foo/usr/local/info/dir
and one in
/stow/bar/usr/local/info/dir
and this is literally the common case if you're using a tool like xstow(1). merge-info handles that whole thing β she merges both dir files and creates a new dir file. main character energy tbh π
π USAGE π
merge-info [OPTION ...] FILE FILE
Merge two files:
merge-info /stow/foo/info/dir /stow/bar/info/dir
Remove the content of a dir file from another dir file:
merge-info -u /stow/foo/info/dir /stow/bar/info/dir
π OPTIONS π
-dl,-debug-levelINT β sets the debug level. An unsigned integer is accepted. The default value is0. π-h,-helpβ shows a help screen. she's helpful like that π«Ά-V,-Versionβ displays the version number of the XStow package.merge-infois shipped withxstow(1). β-u,-unmergeβ unmerge instead of merge. note: it is not possible splitting up onedirfile into two. but removing the content of onedirfile from the other one is possible. π-o,-outfileβ write the resultingdirfile not to stdout. write it to a given file. sincemerge-infodoes not open this outfile until all the merging or unmerging stuff is done, it's allowed that the outfile is one of the source files. eg.:
merge-info -u foo/info/dir bar/info/dir -o foo/info/dir
-d,-duplicateβ remove duplicate entries. when merging 2 files an entry can appear in more than one section. if you do not want this, use this option. π§
π± ENVIRONMENT VARIABLES π±
XSTOW_DEBUG_LEVELβ same as the-debug-leveloption. π
π AUTHORS π
merge-info was written by Martin Oberzalek <kingleo@gmx.at>.
π COPYING π
merge-info, a tool for merging GNU Info index files.
Copyright (C) 2004-2021 by Martin Oberzalek <kingleo@gmx.at>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
π₯ SEE ALSO π₯
info(1) install-info(1) xstow(1)
and that's the whole page, bestie β¨ this one's from the XStow package, version 1.1.1, dated 2026-02-10 β go forth and merge your dir files, you absolute legend π
π
π¦ where this page comes from
- ubuntu resolute: xstow 1.1.1-1build1
- ubuntu stonking: xstow 1.1.1-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms