Live briefing
Everything about Getopt
C library function for parsing command-line options
getopt is a POSIX C function used to parse command-line options of the Unix/POSIX style on C. It is a part of the POSIX specification, and is universal to Unix-like systems. It is also the name of a Unix program for parsing command line arguments in shell scripts. Wikipedia →
đź§ Start here: a 6-step reading path
- Read the overview: GetoptA 5-minute orientation
- Pick up a classic book: Learning the bash ShellThe most-reprinted book on the subject
- Read the landmark paper: GETOpt mesh smoothing: Putting GETMe in the framework of global optimization-based schemesCited 2 times
- Go sideways: Command-line argument parsingA closely related topic
- Go sideways: GetoptsA closely related topic
đź“– Definitions
No dictionary entry for this exact phrase.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
📚 Books worth reading
Learning the bash ShellCameron Newham, Bill Rosenblatt · 1995
The UNIX operating systemChristian, Kaare, Kaare Christian · 1983- 📕Learning Linux Shell ScriptingGanesh Naik · 2018
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
đź”— Related topics
- Command-line argument parsing Computer programming portal Command-line argument parsing refers to methods used in a programming language to parse command-line arguments. A command-line…
- Getopts getopts is a built-in Unix shell command for parsing command-line arguments. It is designed to process command line arguments that follow the POSIX Utility…
- Stat (system call) stat() is a Unix system call that queries the file system for metadata about a file (including special files such as directories). The metadata contains…
- Printf printf is a C standard library function and is also a Linux terminal (shell) command that formats text and writes it to standard output. The function accepts…
- Entry point In computer programming, an entry point is the place in a program where the execution of a program begins, and where the program has access to command…
- Select (Unix) select is a system call and application programming interface (API) in Unix-like and POSIX-compliant operating systems for examining the status of file…
- Pthreads In computing, POSIX Threads, commonly known as pthreads (after its header <pthread.h>), is an execution model that exists independently from a programming…
- Xargs xargs (short for "extended arguments") is a command on Unix and most Unix-like operating systems used to build and execute commands from standard input…