November 21, 2024 Meetup

St. Louis Linux Users Group

Using BASH's getopt to simplify argument parsing

Presented By: Steven Lembark

getopts is a bash built-in that parses options and their arguments passed to a script, processing them sequentially within a while loop. It provides a structured way to handle complex input in BASH shell scripts.

Typeset is a built-in Bash command. You can use the typeset command to declare variables and set their attributes. If no variable name is specified, it displays their values.

Spread the word

Goofy Profile Picture of Tux

@TuxFan • 4h ago

Ready to elevate your BASH scripting skills? 📈 Steven Lembark will reveal how to master getopts for seamless option parsing. Mark your calendars for Nov 21, 2024! 🤖 #ParsingPro #SLUUG https://www.meetup.com/saint-louis-unix-users-group/events/302045024/

Meeting Agenda

At 6:00p.m. Central Time the meeting opens. Participants are encouraged to join at this time to if they need to test their microphone, screen sharing, and video camera.

At 6:30p.m. Central Time we attempt a quick welcome, introductions, announcements, current events of interest, and a general CALL FOR HELP (Questions and Answers) segment.

At 6:45p.m. Central Time the presentation begins.