moin moin, I'll be giving a presentation on bash variable expansion and string operators online in Big Blue Button at 19:00 tonight. https://lufthans.bigbluemeeting.com/plu-yuk-7xx ---- Bash's parameter ( variable ) expansion has several mechanisms to change values as variables are used. Some change the value assigned to the variable, some only change the value substituted when the variable is used. Parameter expansion is an essential tool in shell scripting and one-liners. This presentation uses examples to demonstrate basic parameter expansion and also 10+ builtin expansions. Parameter expansions include: * using a default value if the variable isn't set * using an alternate value if the variable is set * several ways of changing a substring * counting the length of the value * pattern substitution * capitalizing or lowercasing strings ---- ciao, der.hans -- # https://www.SpiralArray.com https://www.PhxLinux.org # ... All true wisdom is found on T-shirts. --------------------------------------------------- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss