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-level INT β€” sets the debug level. An unsigned integer is accepted. The default value is 0. πŸŽ€
  • -h, -help β€” shows a help screen. she's helpful like that 🫢
  • -V, -Version β€” displays the version number of the XStow package. merge-info is shipped with xstow(1). ⭐
  • -u, -unmerge β€” unmerge instead of merge. note: it is not possible splitting up one dir file into two. but removing the content of one dir file from the other one is possible. πŸ™ˆ
  • -o, -outfile β€” write the resulting dir file not to stdout. write it to a given file. since merge-info does 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-level option. πŸ’œ

πŸ‘‘ 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