IFNAMES(1)

πŸ“¦ version 2.64, in debian bookworm, ubuntu jammy, ubuntu noble

✨ IFNAMES(1) ✨

ok so this is the ifnames manual page, bestie, and it lives in the User Commands section πŸ’… it's a lil GNU Autoconf tool and it is lowkey iconic, let's get into it 🫢


🌸 NAME 🌸

ifnames β€” extract CPP conditionals from a set of files πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

ifnames [OPTION]... [FILE]...

πŸ’– DESCRIPTION πŸ’–

okay so here's the whole vibe: it scans all of the C source FILES (or, if you didn't give it any files at all, it just reads from the standard input instead 🌈) and then it writes to the standard output a sorted list of every single identifier that shows up in those files inside #if, #elif, #ifdef, or #ifndef directives. no cap, that's the whole job ✨

and the way it formats it?? each identifier gets printed on a line, followed by a space-separated list of the files in which that identifier occurs πŸ’« so you can see exactly which file said what. it's giving receipts, fr fr πŸ“‹

here are the options, and yes there are only two, she's a minimal queen πŸ‘‘

  • -h, --help β€” prints the help text, then exits 🫢
  • -V, --version β€” prints the version number, then exits πŸ‘‘

πŸ‘‘ AUTHOR πŸ‘‘

Written by David J. MacKenzie and Paul Eggert. legends, honestly πŸ’œ


😭 REPORTING BUGS 😭

found a bug?? pls report it to <bug-autoconf@gnu.org> πŸ™ˆ


Copyright Β© 2009 Free Software Foundation, Inc. πŸ“œ

License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/old-licenses/gpl-2.0.html>

This is free software: you are free to change and redistribute it. πŸ’–

There is NO WARRANTY, to the extent permitted by law. ⚠️ like, none. zero. nada. so don't come for her if something breaks, bestie πŸ’€

🌈 SEE ALSO 🌈

the whole friend group, periodt:

also!! the full documentation for ifnames is maintained as a Texinfo manual πŸ“– and if the info and ifnames programs are properly installed at your site, then this command:

info ifnames

should give you access to the complete manual ✨ go read it, it's right there πŸ¦‹


ok that's the whole page!! this was GNU Autoconf 2.64, dated July 2009 β€” yes she's a lil vintage but she still ate πŸ’… mwah, ily, go extract some conditionals πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from