Save this video — free

Lecture 9: Variables (cont); Strings

Burton Ma · 40:35 · Watch on YouTube

Lecture 9: Variables (cont); Strings Watch on YouTube →

Overview

Burton Ma explains which Bash expansions work in variable assignments, then demonstrates parameter substitutions for measuring, extracting, trimming, replacing, and changing the case of strings. He emphasizes that Bash string patterns use glob-style matching, that substitutions do not modify the original variable unless assigned back, and that students should memorize string length and substring syntax while looking up less-common forms.

Key takeaways

Chapters

0:00 Bash Assignments Skip Brace and Filename Expansion
5:30 Store Supported Expansion Results in Variables
7:30 Measure Strings and Extract Bash Substrings
14:40 Trim String Prefixes with Bash Glob Patterns
21:30 Extract File Names and Extensions with Prefix and Suffix Trimming
26:10 Replace or Delete Substrings with Slash Substitution
30:10 Convert String Case with Bash Parameter Patterns
37:50 What to Memorize About Bash String Substitution

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Burton Ma.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.