Regular monthly mtng in regular Nick & Elaina’s location.
Tell friends & co-workers! There is material for both the relatively new user as
well as some goodies for the experienced expert!
========================
https://stllug.sluug.org/
<https://www.google.com/url?q=https://stllug.sluug.org/&sa=D&usd=2&usg=AOvVaw2wPzygilPlekLCkTmWgQ8y>
Thurs 21 Nov '19
How to make the best use of variables in the BASH shell.
by Stephen Lembark
of Workhorse Computing
One of the more powerful additions to BASH shell programming is
flexible variable handling -- and frequently one of the more
frustrating.
This talk looks at the ways in which variables are assigned,
evaluated, and interpolated in commands and shell code with the
hope of adding some sanity to the whole process.
How to make the best use of variables in the BASH shell.
Did you know about/how:
BASH interpolates variables in one pass.
Loops are re-parsed.
Variables can appear anywhere.
${...} protect, slice variables eval multi-pass processing.
<<TAG “here script”
-vx debugging
“Parameter Expansion”
Steve's Bio: Steve Lembark has been playing with computers for thirty years as a
SysAdmin, DBA, Programmer, and ETL analyst, Architect, and general beer drinker. He is
a principle AT Workhorse Computing.
His experience with shell programming started with DCL, since then he has survived batch,
sh, ksh, and bash -- hence the need for beer.
3646 Flora
Place
Workhorse Computing St. Louis, MO 63110
lembark(a)wrkhors.com <mailto:lembark@wrkhors.com>
+1 888 359 3508
====================================
The STLLUG meetings are usually on the third Thursday of each month from 6:30PM to 9:00PM.
VENUE Nick and Elena's Pizzeria
3007 Woodson Rd, Overland, MO 63114